summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2020-02-19 15:33:44 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-19 15:36:18 +0100
commit0a3e8536d983722b464d0b939249d63c409feadb (patch)
tree24f30a2acbfe63cf7444b5e9d82c7919ca09a645
parent0c54440b793e805290a60d6b1b17d4bd2e4f9443 (diff)
downloadguix-0a3e8536d983722b464d0b939249d63c409feadb.tar.gz
gnu: commencement: %boot0-inputs: Soft-code Scheme-only additions.
* gnu/packages/commencement.scm (%boot0-inputs)[x86-linux,x86_64-linux]: Include
*-boot0 additions for Scheme-only bootstrap.
-rw-r--r--gnu/packages/commencement.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 0d7611b9fe..511fdd1b68 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2669,16 +2669,19 @@ exec " gcc "/bin/" program
        ,@(package-arguments tar)))))
 
 (define (%boot0-inputs)
-  `(("bzip2" ,bzip2-boot0)
-    ("coreutils" ,coreutils-boot0)
+  `(,@(match (%current-system)
+        ((or "i686-linux" "x86_64-linux")
+         `(("bzip2" ,bzip2-boot0)
+           ("coreutils" ,coreutils-boot0)
+           ("gawk" ,gawk-boot0)
+           ("patch" ,patch-boot0)
+           ("sed" ,sed-boot0)
+           ("tar" ,tar-boot0)))
+        (_ '()))
+    ("make" ,gnu-make-boot0)
     ("diffutils" ,diffutils-boot0)
     ("findutils" ,findutils-boot0)
     ("file" ,file-boot0)
-    ("gawk" ,gawk-boot0)
-    ("make" ,gnu-make-boot0)
-    ("patch" ,patch-boot0)
-    ("sed" ,sed-boot0)
-    ("tar" ,tar-boot0)
     ,@(%bootstrap-inputs+toolchain)))
 
 (define* (boot-triplet #:optional (system (%current-system)))