janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 1eac7a82681e26ddfbf5fb124c5495bc9c7de010
Author: Jan Nieuwenhuizen <[email protected]>
Date: Wed Dec 11 17:24:21 2019 +0100
bootstrap: Add gawk-boot0.
* gnu/packages/commencement.scm (gawk-boot0): New variable.
(%boot0-inputs): Add it.
---
gnu/packages/commencement.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 1af4873..3f80ddb 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2801,11 +2801,28 @@ exec " gcc "/bin/" program
#:strip-binaries? #f
#:validate-runpath? #f))))
+(define gawk-boot0
+ (package
+ (inherit patch)
+ (source (bootstrap-origin (package-source gawk)))
+ (name "gawk-boot0")
+ (native-inputs '())
+ (inputs
+ `(("make" ,gnu-make-boot0)
+ ,@(%bootstrap-inputs+toolchain)))
+ (arguments
+ `(#:tests? #f
+ #:implicit-inputs? #f
+ #:guile ,%bootstrap-guile
+ #:strip-binaries? #f
+ #:validate-runpath? #f))))
+
(define (%boot0-inputs)
`(("make" ,gnu-make-boot0)
("diffutils" ,diffutils-boot0)
("findutils" ,findutils-boot0)
("file" ,file-boot0)
+ ("gawk" ,gawk-boot0)
,@(%bootstrap-inputs+toolchain)))
(define* (boot-triplet #:optional (system (%current-system)))