guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

60/70: bootstrap: Add sed-boot0.


From: guix-commits
Subject: 60/70: bootstrap: Add sed-boot0.
Date: Wed, 11 Dec 2019 13:03:27 -0500 (EST)

janneke pushed a commit to branch wip-bootstrap
in repository guix.

commit 0f7592e1f96a2f22e550ad19b511c6675b011048
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Fri Nov 22 23:56:32 2019 +0100

    bootstrap: Add sed-boot0.
    
    linux-libre-headers depends on `sed -E', introduced in sed 4.1.5.
    
    * gnu/packages/commencement.scm (sed-boot0): New variable.
    (%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 3f80ddb..024097e 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2817,12 +2817,28 @@ exec " gcc "/bin/" program
        #:strip-binaries? #f
        #:validate-runpath? #f))))
 
+(define sed-boot0
+  (package
+    (inherit sed)
+    (name "sed-boot0")
+    (source (bootstrap-origin (package-source sed)))
+    (native-inputs '())
+    (inputs
+     `(("make" ,gnu-make-boot0)
+       ,@(%bootstrap-inputs+toolchain)))
+    (arguments
+     `(#:implicit-inputs? #f
+       #:tests? #f
+       #:guile ,%bootstrap-guile
+       ,@(package-arguments sed)))))
+
 (define (%boot0-inputs)
   `(("make" ,gnu-make-boot0)
     ("diffutils" ,diffutils-boot0)
     ("findutils" ,findutils-boot0)
     ("file" ,file-boot0)
     ("gawk" ,gawk-boot0)
+    ("sed" ,sed-boot0)
     ,@(%bootstrap-inputs+toolchain)))
 
 (define* (boot-triplet #:optional (system (%current-system)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]