guix-commits
[Top][All Lists]
Advanced

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

39/63: bootstrap: Add sed-mesboot.


From: guix-commits
Subject: 39/63: bootstrap: Add sed-mesboot.
Date: Sun, 24 Nov 2019 06:02:32 -0500 (EST)

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

commit e74994603d50fbbdf47c0e398a6841a6a4a33399
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 | 45 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 5644f15..e9c2c36 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1730,6 +1730,51 @@ 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 `(("bash" ,bash-mesboot0)
+                     ("binutils" ,binutils-mesboot0)
+                     ("gawk" ,gawk-mesboot0)
+                     ("gcc" ,gcc-mesboot0)
+                     ("gzip" ,gzip-mesboot0)
+                     ("libc" ,glibc-mesboot0)
+                     ("make" ,make-mesboot)
+                     ("sed" ,sed-mesboot0)
+                     ("tar" ,tar-mesboot)
+
+                     ("gash" ,%bootstrap-gash)
+                     ("guile" ,%bootstrap-guile)
+                     ("kernel-headers" ,%bootstrap-linux-libre-headers)))
+    (supported-systems '("i686-linux" "x86_64-linux"))
+    (inputs '())
+    (propagated-inputs '())
+    (arguments
+     `(#:implicit-inputs? #f
+       #:parallel-build? #f
+       #:guile ,%bootstrap-guile
+       #:configure-flags '("LIBS=-lc -lnss_files -lnss_dns -lresolv")
+       #: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]