[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/35: bootstrap: Add sed-mesboot0.
From: |
guix-commits |
Subject: |
30/35: bootstrap: Add sed-mesboot0. |
Date: |
Wed, 20 Nov 2019 15:16:19 -0500 (EST) |
janneke pushed a commit to branch wip-boot
in repository guix.
commit 9af1397ea0a31948491ad2e4482d7d811d99b631
Author: Jan Nieuwenhuizen <address@hidden>
Date: Sun Oct 6 17:47:24 2019 +0200
bootstrap: Add sed-mesboot0.
* gnu/packages/commencement.scm (sed-mesboot0): New variable.
---
gnu/packages/commencement.scm | 50 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 2033579..d0e59da 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -859,6 +859,56 @@
"p_end = -1;\nwhile (0)"))
#t))))))))
+(define-public sed-mesboot0
+ (package-with-bootstrap-guile
+ (package
+ (inherit sed)
+ (name "sed-mesboot0")
+ (version "1.18")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/sed/sed-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1hyv7i82jd0q18xcql51ylc8jwadp3gb3irgcqlis3v61p35jsv2"))))
+ (supported-systems '("i686-linux" "x86_64-linux"))
+ (inputs '())
+ (propagated-inputs '())
+ (native-inputs `(("bash" ,bash-mesboot0)
+ ("gzip" ,gzip-mesboot0)
+ ("make" ,make-mesboot0)
+ ("tcc" ,tcc-boot)
+
+ ("gash" ,%bootstrap-gash)
+ ("guile" ,%bootstrap-guile)))
+ (arguments
+ `(#:implicit-inputs? #f
+ #:guile ,%bootstrap-guile
+ #:parallel-build? #f
+ #:configure-flags '("CC=tcc")
+ #:make-flags '("CC=tcc" "extra_objs=" "DEFS=-D HAVE_BCOPY")
+ #:strip-binaries? #f ; no strip yet
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'scripted-patch
+ (lambda _
+ (let* ((out (assoc-ref %outputs "out"))
+ (bash (assoc-ref %build-inputs "bash"))
+ (shell (string-append bash "/bin/bash")))
+ (substitute* "configure"
+ (("/bin/sh") shell))
+ #t)))
+ (replace 'check
+ (lambda _
+ (invoke "./sed" "--version")))
+ (replace 'install
+ (lambda _
+ (let* ((out (assoc-ref %outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "sed" bin)
+ #t)))))))))
+
(define binutils-mesboot0
(package-with-bootstrap-guile
(package
- 02/35: gnu: Add gash-core-utils., (continued)
- 02/35: gnu: Add gash-core-utils., guix-commits, 2019/11/20
- 15/35: bootstrap: bootstrap-mes: Update for mes-0.20., guix-commits, 2019/11/20
- 06/35: bootstrap: Add %bootstrap-gash. WIP, guix-commits, 2019/11/20
- 08/35: gnu: mescc-tools: Update to 0.6.1., guix-commits, 2019/11/20
- 03/35: bootstrap: Add gash-boot., guix-commits, 2019/11/20
- 04/35: bootstrap: Add gash-core-utils-boot., guix-commits, 2019/11/20
- 07/35: gnu: nyacc: Update to 0.99.0., guix-commits, 2019/11/20
- 21/35: bootstrap: tcc-boot0: Scheme-only bootstrap. WIP, guix-commits, 2019/11/20
- 13/35: bootstrap: mes-minimal: Update for mes-0.20., guix-commits, 2019/11/20
- 14/35: bootstrap: bootstrap-mescc-tools: Update for mescc-tools-0.6.1., guix-commits, 2019/11/20
- 30/35: bootstrap: Add sed-mesboot0.,
guix-commits <=
- 09/35: gnu: mes: Update to 0.20., guix-commits, 2019/11/20
- 11/35: mes: 0.21, guix-commits, 2019/11/20
- 05/35: bootstrap: Add %gash-bootstrap-guile, %gash-bootstrap-tarball., guix-commits, 2019/11/20
- 01/35: gnu: Add ncompress., guix-commits, 2019/11/20
- 10/35: gnu: mes: Update to 0.21 WIP, guix-commits, 2019/11/20
- 22/35: bootstrap-gash-rewire? WIP, guix-commits, 2019/11/20
- 23/35: bootstrap: Add gzip-mesboot0., guix-commits, 2019/11/20
- 17/35: bootstrap-mes, guix-commits, 2019/11/20
- 19/35: bootstrap: nyacc-boot. WIP, guix-commits, 2019/11/20
- 16/35: bootstrap: bootstrap-mes: Update for mes-0.21. WIP, guix-commits, 2019/11/20