guix-commits
[Top][All Lists]
Advanced

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

37/63: gnu: commencement: glibc-mesboot: Use Gash instead of coreutils&c


From: guix-commits
Subject: 37/63: gnu: commencement: glibc-mesboot: Use Gash instead of coreutils&co.
Date: Mon, 17 Feb 2020 16:01:01 -0500 (EST)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 4364ebcc1f09980dc177e55d9fc131628fb8b90a
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Fri Nov 22 22:16:22 2019 +0100

    gnu: commencement: glibc-mesboot: Use Gash instead of coreutils&co.
    
    * gnu/packages/commencement.scm (glibc-mesboot): Use Gash instead of
    coreutils&co.
---
 gnu/packages/commencement.scm | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9a20add..c6b05d4 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2490,19 +2490,10 @@ SHELL := " shell "
   (package
     (inherit glibc-headers-mesboot)
     (name "glibc-mesboot")
-    (native-inputs `(("binutils" ,binutils-mesboot)
-                     ("libc" ,glibc-mesboot0)
-                     ("headers" ,glibc-headers-mesboot)
-                     ("gcc" ,gcc-mesboot1)
-
-                     ("bash" ,%bootstrap-coreutils&co)
-                     ("coreutils" ,%bootstrap-coreutils&co)
-                     ("diffutils" ,diffutils-mesboot)
-                     ("kernel-headers" ,%bootstrap-linux-libre-headers)
-                     ("make" ,make-mesboot)))
-
+    (native-inputs `(("headers" ,glibc-headers-mesboot)
+                     ,@(%boot-mesboot3-inputs)))
     (arguments
-     `(#:validate-runpath? #f               ; fails when using --enable-shared
+     `(#:validate-runpath? #f ; fails when using --enable-shared
        ,@(substitute-keyword-arguments (package-arguments 
glibc-headers-mesboot)
            ((#:make-flags make-flags)
             `(let ((bash (assoc-ref %build-inputs "bash")))
@@ -2514,9 +2505,13 @@ SHELL := " shell "
                    (let* ((kernel-headers (assoc-ref %build-inputs 
"kernel-headers"))
                           (out (assoc-ref outputs "out"))
                           (install-flags (cons "install" make-flags)))
-                     (apply invoke "make" install-flags)
-                     (copy-recursively kernel-headers out)
-                     #t))))))))))
+                     (and (apply invoke "make" install-flags)
+                          (copy-recursively kernel-headers out)
+                          #t)))))))))))
+
+(define (%boot-mesboot4-inputs)
+  `(("libc" ,glibc-mesboot)
+    ,@(alist-delete "libc" (%boot-mesboot3-inputs))))
 
 (define gcc-mesboot
   (package



reply via email to

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