guix-commits
[Top][All Lists]
Advanced

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

29/63: gnu: commencement: Add sed-mesboot.


From: guix-commits
Subject: 29/63: gnu: commencement: Add sed-mesboot.
Date: Mon, 17 Feb 2020 16:00:58 -0500 (EST)

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

commit 0af08a32d3c3e24c66c34d3b400f64f09426e352
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Fri Nov 22 21:00:15 2019 +0100

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

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index e03ec2d..52562f1 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1857,6 +1857,38 @@ 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 (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]