summary refs log tree commit diff
path: root/gnu/packages/commencement.scm
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-23 09:13:50 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:21:03 +0100
commit1d313d6d88556f1b110d09d1e0e7b2e967a403ca (patch)
treebe7ea9c22cde5dda22f91ea19974fc976fed45c3 /gnu/packages/commencement.scm
parent2e41da947b960941304b42473c1757aef41d772a (diff)
downloadguix-1d313d6d88556f1b110d09d1e0e7b2e967a403ca.tar.gz
gnu: commencement: Add tar-boot0.
* gnu/packages/commencement.scm (tar-boot0): New variable.
(%boot0-inputs): Add it.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r--gnu/packages/commencement.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9383e7c20b..9d4880f924 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2790,6 +2790,21 @@ exec " gcc "/bin/" program
        #:guile ,%bootstrap-guile
        ,@(package-arguments sed)))))
 
+(define tar-boot0
+  (package
+    (inherit tar)
+    (name "tar-boot0")
+    (source (bootstrap-origin (package-source tar)))
+    (native-inputs '())
+    (inputs
+     `(("make" ,gnu-make-boot0)
+       ,@(%bootstrap-inputs+toolchain)))
+    (arguments
+     `(#:implicit-inputs? #f
+       #:tests? #f
+       #:guile ,%bootstrap-guile
+       ,@(package-arguments tar)))))
+
 (define (%boot0-inputs)
   `(("bzip2" ,bzip2-boot0)
     ("diffutils" ,diffutils-boot0)
@@ -2799,6 +2814,7 @@ exec " gcc "/bin/" program
     ("make" ,gnu-make-boot0)
     ("patch" ,patch-boot0)
     ("sed" ,sed-boot0)
+    ("tar" ,tar-boot0)
     ,@(%bootstrap-inputs+toolchain)))
 
 (define* (boot-triplet #:optional (system (%current-system)))