mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: %boot3-inputs: Drop input labels.
* gnu/packages/commencement.scm (%boot3-inputs): Drop input labels. (%boot4-inputs): Inject former %boot3-inputs for incremental progress on input label removal. (bash-final): Adapt accordingly. Change-Id: I6a8db940ddf1686e1c457c12abef715658ce8637 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
30961bc306
commit
aeb969a803
@@ -3406,35 +3406,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||
|
||||
(define (%boot3-inputs)
|
||||
;; 4th stage inputs.
|
||||
`(("gcc" ,gcc-final)
|
||||
("ld-wrapper" ,ld-wrapper-boot3)
|
||||
("libc" ,glibc-final)
|
||||
("libc:static" ,glibc-final "static")
|
||||
("ld-wrapper-cross" ,ld-wrapper-boot0)
|
||||
("binutils-cross" ,binutils-boot0)
|
||||
,@(match (%current-system)
|
||||
((or "i686-linux" "x86_64-linux")
|
||||
`(("bzip2" ,bzip2-boot0)
|
||||
("coreutils" ,coreutils-boot0)
|
||||
("gawk" ,gawk-boot0)
|
||||
("patch" ,patch-boot0)
|
||||
("sed" ,sed-boot0)
|
||||
("tar" ,tar-boot0)
|
||||
("bash" ,bash-mesboot)
|
||||
("grep" ,grep-mesboot)
|
||||
("tar" ,tar-mesboot)
|
||||
("xz" ,xz-mesboot)
|
||||
("gcc-wrapper" ,gcc-mesboot-wrapper)
|
||||
("gzip" ,gzip-mesboot)
|
||||
("guile" ,%bootstrap-guile)))
|
||||
(_
|
||||
`(("coreutils&co" ,%bootstrap-coreutils&co)
|
||||
;; In gnu-build-system.scm, we rely on the availability of Bash.
|
||||
("bash" ,%bootstrap-coreutils&co))))
|
||||
("make" ,gnu-make-boot0)
|
||||
("diffutils" ,diffutils-boot0)
|
||||
("findutils" ,findutils-boot0)
|
||||
("file" ,file-boot0)))
|
||||
(cons* gcc-final
|
||||
ld-wrapper-boot3
|
||||
(delete gcc-boot0-wrapped (%boot2-inputs))))
|
||||
|
||||
(define bash-final
|
||||
;; Link with `-static-libgcc' to make sure we don't retain a reference
|
||||
@@ -3454,7 +3428,26 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||
(define (%boot4-inputs)
|
||||
;; Now use the final Bash.
|
||||
`(("bash" ,bash-final)
|
||||
,@(alist-delete "bash" (%boot3-inputs))))
|
||||
("gcc" ,gcc-final)
|
||||
("ld-wrapper" ,ld-wrapper-boot3)
|
||||
("libc" ,glibc-final)
|
||||
("libc:static" ,glibc-final "static")
|
||||
("ld-wrapper-cross" ,ld-wrapper-boot0)
|
||||
("binutils-cross" ,binutils-boot0)
|
||||
,@(match (%current-system)
|
||||
((or "i686-linux" "x86_64-linux")
|
||||
`(("bzip2" ,bzip2-boot0)
|
||||
("coreutils" ,coreutils-boot0)
|
||||
("gawk" ,gawk-boot0)
|
||||
("patch" ,patch-boot0)
|
||||
("sed" ,sed-boot0)
|
||||
("tar" ,tar-boot0)))
|
||||
(_
|
||||
`(("coreutils&co" ,%bootstrap-coreutils&co))))
|
||||
("make" ,gnu-make-boot0)
|
||||
("diffutils" ,diffutils-boot0)
|
||||
("findutils" ,findutils-boot0)
|
||||
("file" ,file-boot0)))
|
||||
|
||||
(define with-boot4
|
||||
(package-with-explicit-inputs %boot4-inputs %bootstrap-guile))
|
||||
|
||||
Reference in New Issue
Block a user