guix-commits
[Top][All Lists]
Advanced

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

54/63: bootstrap: Add sed-boot0.


From: guix-commits
Subject: 54/63: bootstrap: Add sed-boot0.
Date: Sun, 24 Nov 2019 06:09:08 -0500 (EST)

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

commit 1630a997fedc90993e158d215fd3ca85f9b1f1ec
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 ec0a102..ef1b432 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2716,11 +2716,27 @@ 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)
+    ("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]