guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/65: gnu: commencement: mig-boot0: Update to 1.8+git20230520.


From: guix-commits
Subject: 04/65: gnu: commencement: mig-boot0: Update to 1.8+git20230520.
Date: Fri, 14 Jul 2023 10:05:58 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 694280497e13cd11f48860afc820fe5e9c2a5d78
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon May 29 20:10:38 2023 +0200

    gnu: commencement: mig-boot0: Update to 1.8+git20230520.
    
    * gnu/packages/commencement.scm (mig-boot0): Remove redundant
    outer let.
    [name]: New field, give proper name.
    [version]: New field
    [source]: Update to 1.8+git20230520.
    [native-inputs]: Add autoconf-boot0, automake-boot0.
    [inputs]: Add gnumach-headers-boot0.
---
 gnu/packages/commencement.scm | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 10b5bb407d..475ecf18a8 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2657,17 +2657,29 @@ memoized as a function of '%current-system'."
                    (("long_natural_t") "unsigned long")))))))))))
 
 (define mig-boot0
-  (let* ((mig (package
-                 (inherit (package-with-bootstrap-guile mig))
-                 (native-inputs `(("bison" ,bison-boot0)
-                                  ("flex" ,flex-boot0)))
-                 (inputs `(("flex" ,flex-boot0)))
-                 (arguments
-                  ;; TODO: On next rebuild cycle, reuse phases from 'mig'.
-                  `(#:configure-flags
-                    `(,(string-append "LDFLAGS=-Wl,-rpath="
-                                      (assoc-ref %build-inputs "flex") 
"/lib/")))))))
-    (with-boot0 mig)))
+  (with-boot0
+   (package
+     (inherit mig)
+     (name "mig-boot0")
+     (version "1.8+git20230520")
+     (source (origin
+               (method url-fetch)
+               (uri
+                (string-append
+                 "https://git.savannah.gnu.org/cgit/hurd/mig.git/snapshot/mig-";
+                 version ".tar.gz"))
+               (sha256
+                (base32
+                 "1l1vfm4wap5yxylv91wssgpy7fnq22wp3akgd5nv995kychfa9jy"))))
+     (native-inputs (list autoconf-boot0 automake-boot0 bison-boot0 flex-boot0
+                          gnumach-headers-boot0))
+     (inputs (list flex-boot0 gnumach-headers-boot0))
+     (arguments
+      (list
+       #:configure-flags
+       #~(list (string-append "LDFLAGS=-Wl,-rpath="
+                              #$(this-package-native-input "flex")
+                              "/lib/")))))))
 
 (define hurd-version-boot0 "0.9-229-ga1efcee8")
 (define hurd-source-boot0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]