summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-23 09:11:57 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:21:02 +0100
commit2e41da947b960941304b42473c1757aef41d772a (patch)
tree2551d6c7796ab5341521f39a40274cc3f8c740d6
parent31a3db77e96d91cc75bb7c5703c9f16effe190ee (diff)
downloadguix-2e41da947b960941304b42473c1757aef41d772a.tar.gz
gnu: commencement: Add bzip2-boot0.
* gnu/packages/commencement.scm (bzip2-boot0): New variable.
(%boot0-inputs): Add it.
-rw-r--r--gnu/packages/commencement.scm16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 8c9cd7c037..9383e7c20b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2672,6 +2672,19 @@ exec " gcc "/bin/" program
     (native-inputs '())                           ; no need for 'pkg-config'
     (inputs (%bootstrap-inputs+toolchain))))
 
+(define bzip2-boot0
+  (package
+    (inherit bzip2)
+    (name "bzip2-boot0")
+    (native-inputs `())
+    (inputs
+     `(("make" ,gnu-make-boot0)
+       ,@(%bootstrap-inputs+toolchain)))
+    (arguments
+     `(#:guile ,%bootstrap-guile
+       #:implicit-inputs? #f
+       ,@(package-arguments bzip2)))))
+
 (define diffutils-boot0
   (package
     (inherit diffutils)
@@ -2778,11 +2791,12 @@ exec " gcc "/bin/" program
        ,@(package-arguments sed)))))
 
 (define (%boot0-inputs)
-  `(("make" ,gnu-make-boot0)
+  `(("bzip2" ,bzip2-boot0)
     ("diffutils" ,diffutils-boot0)
     ("findutils" ,findutils-boot0)
     ("file" ,file-boot0)
     ("gawk" ,gawk-boot0)
+    ("make" ,gnu-make-boot0)
     ("patch" ,patch-boot0)
     ("sed" ,sed-boot0)
     ,@(%bootstrap-inputs+toolchain)))