guix-commits
[Top][All Lists]
Advanced

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

42/70: bootstrap: Add sed-mesboot.


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

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

commit 9119a5bf5e4925e99680ede85483b7e3279579a9
Author: Jan Nieuwenhuizen <address@hidden>
Date:   Fri Nov 22 21:00:15 2019 +0100

    bootstrap: Add sed-mesboot.
    
    * gnu/packages/commencement.scm (sed-mesboot): New variable.
---
 gnu/packages/commencement.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 920fedb..150ef0d 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1931,6 +1931,39 @@ ac_cv_c_float_format='IEEE (little-endian)'
                (symlink "gawk" (string-append bin "/awk"))
                #t))))))))
 
+(define sed-mesboot
+  (package
+    (inherit sed)
+    (name "sed-mesboot")
+    (version "4.0.6")                   ; 2003-04
+    (source (bootstrap-origin
+             (origin
+               (method url-fetch)
+               (uri (string-append "mirror://gnu/sed/sed-"
+                                   version ".tar.gz"))
+               (sha256
+                (base32
+                 "0861ij94cqc4vaaki6r2wlapwcmhpx4ggp4r70f46mb21a8fkvf1")))))
+    (native-inputs (%boot-mesboot0-inputs))
+    (supported-systems '("i686-linux" "x86_64-linux"))
+    (inputs '())
+    (propagated-inputs '())
+    (arguments
+     `(#:implicit-inputs? #f
+       #:parallel-build? #f
+       #:guile ,%bootstrap-guile
+       #:tests? #f                      ; 8to7 fails
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack '/bin/sh
+           (lambda _
+             (let* ((bash (assoc-ref %build-inputs "bash"))
+                    (shell (string-append bash "/bin/bash")))
+               (substitute* "testsuite/Makefile.tests"
+                 (("^SHELL = /bin/sh")
+                  (string-append "SHELL = " shell)))
+               #t))))))))
+
 (define binutils-mesboot
   (package
     (inherit binutils-mesboot0)



reply via email to

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