summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-12-11 17:24:21 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:21:02 +0100
commit4bfce839f9595750960e3bf2e789e351eb74e279 (patch)
tree946f06f16165ee253936226a1a30e2f6516e625d
parentf8d1a95ea45475d106289b32cb07e5aa762ebd30 (diff)
downloadguix-4bfce839f9595750960e3bf2e789e351eb74e279.tar.gz
gnu: commencement: Add gawk-boot0.
* gnu/packages/commencement.scm (gawk-boot0): New variable.
(%boot0-inputs): Add it.
-rw-r--r--gnu/packages/commencement.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index b5d27e8f96..8ab3c3ad31 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2730,11 +2730,28 @@ exec " gcc "/bin/" program
        #:validate-runpath? #f
        ,@(package-arguments file)))))
 
+(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)))