janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 657d81698a7cfffda04aea3aab84a31352de5283
Author: Jan Nieuwenhuizen <[email protected]>
Date: Sat Nov 23 11:18:12 2019 +0100
bootstrap: Add coreutils-boot0.
(coreutils-boot0): New variable.
* gnu/packages/commencement.scm (%boot0-inputs): Add it.
---
gnu/packages/commencement.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 1b36807..b5b782d 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2773,6 +2773,21 @@ exec " gcc "/bin/" program
#:implicit-inputs? #f
,@(package-arguments bzip2)))))
+(define coreutils-boot0
+ (package
+ (inherit coreutils)
+ (source (bootstrap-origin (package-source coreutils)))
+ (name "coreutils-boot0")
+ (native-inputs `())
+ (inputs
+ `(("make" ,gnu-make-boot0)
+ ,@(%bootstrap-inputs+toolchain)))
+ (arguments
+ `(#:tests? #f
+ #:implicit-inputs? #f
+ #:guile ,%bootstrap-guile
+ ,@(package-arguments coreutils)))))
+
(define diffutils-boot0
(package
(inherit diffutils)
@@ -2892,6 +2907,7 @@ exec " gcc "/bin/" program
(define (%boot0-inputs)
`(("bzip2" ,bzip2-boot0)
+ ("coreutils" ,coreutils-boot0)
("diffutils" ,diffutils-boot0)
("findutils" ,findutils-boot0)
("file" ,file-boot0)