diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-02-22 10:21:06 +0100 |
|---|---|---|
| committer | Zheng Junjie <z572@z572.online> | 2026-06-20 23:59:07 +0800 |
| commit | 1b413f8ed580b8730a4de31f16390668b9232026 (patch) | |
| tree | 730247aa49bc843195d1f3cfacf4277848a5b9d4 | |
| parent | cdb18caaa67b511b48d9c4226cb3694c5ecb47d4 (diff) | |
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>
| -rw-r--r-- | gnu/packages/commencement.scm | 53 |
1 files changed, 23 insertions, 30 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index fb3066c1f16..fd8f6770d6e 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -3427,35 +3427,9 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" | |||
| 3427 | 3427 | ||
| 3428 | (define (%boot3-inputs) | 3428 | (define (%boot3-inputs) |
| 3429 | ;; 4th stage inputs. | 3429 | ;; 4th stage inputs. |
| 3430 | `(("gcc" ,gcc-final) | 3430 | (cons* gcc-final |
| 3431 | ("ld-wrapper" ,ld-wrapper-boot3) | 3431 | ld-wrapper-boot3 |
| 3432 | ("libc" ,glibc-final) | 3432 | (delete gcc-boot0-wrapped (%boot2-inputs)))) |
| 3433 | ("libc:static" ,glibc-final "static") | ||
| 3434 | ("ld-wrapper-cross" ,ld-wrapper-boot0) | ||
| 3435 | ("binutils-cross" ,binutils-boot0) | ||
| 3436 | ,@(match (%current-system) | ||
| 3437 | ((or "i686-linux" "x86_64-linux") | ||
| 3438 | `(("bzip2" ,bzip2-boot0) | ||
| 3439 | ("coreutils" ,coreutils-boot0) | ||
| 3440 | ("gawk" ,gawk-boot0) | ||
| 3441 | ("patch" ,patch-boot0) | ||
| 3442 | ("sed" ,sed-boot0) | ||
| 3443 | ("tar" ,tar-boot0) | ||
| 3444 | ("bash" ,bash-mesboot) | ||
| 3445 | ("grep" ,grep-mesboot) | ||
| 3446 | ("tar" ,tar-mesboot) | ||
| 3447 | ("xz" ,xz-mesboot) | ||
| 3448 | ("gcc-wrapper" ,gcc-mesboot-wrapper) | ||
| 3449 | ("gzip" ,gzip-mesboot) | ||
| 3450 | ("guile" ,%bootstrap-guile))) | ||
| 3451 | (_ | ||
| 3452 | `(("coreutils&co" ,%bootstrap-coreutils&co) | ||
| 3453 | ;; In gnu-build-system.scm, we rely on the availability of Bash. | ||
| 3454 | ("bash" ,%bootstrap-coreutils&co)))) | ||
| 3455 | ("make" ,gnu-make-boot0) | ||
| 3456 | ("diffutils" ,diffutils-boot0) | ||
| 3457 | ("findutils" ,findutils-boot0) | ||
| 3458 | ("file" ,file-boot0))) | ||
| 3459 | 3433 | ||
| 3460 | (define bash-final | 3434 | (define bash-final |
| 3461 | ;; Link with `-static-libgcc' to make sure we don't retain a reference | 3435 | ;; Link with `-static-libgcc' to make sure we don't retain a reference |
| @@ -3475,7 +3449,26 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" | |||
| 3475 | (define (%boot4-inputs) | 3449 | (define (%boot4-inputs) |
| 3476 | ;; Now use the final Bash. | 3450 | ;; Now use the final Bash. |
| 3477 | `(("bash" ,bash-final) | 3451 | `(("bash" ,bash-final) |
| 3478 | ,@(alist-delete "bash" (%boot3-inputs)))) | 3452 | ("gcc" ,gcc-final) |
| 3453 | ("ld-wrapper" ,ld-wrapper-boot3) | ||
| 3454 | ("libc" ,glibc-final) | ||
| 3455 | ("libc:static" ,glibc-final "static") | ||
| 3456 | ("ld-wrapper-cross" ,ld-wrapper-boot0) | ||
| 3457 | ("binutils-cross" ,binutils-boot0) | ||
| 3458 | ,@(match (%current-system) | ||
| 3459 | ((or "i686-linux" "x86_64-linux") | ||
| 3460 | `(("bzip2" ,bzip2-boot0) | ||
| 3461 | ("coreutils" ,coreutils-boot0) | ||
| 3462 | ("gawk" ,gawk-boot0) | ||
| 3463 | ("patch" ,patch-boot0) | ||
| 3464 | ("sed" ,sed-boot0) | ||
| 3465 | ("tar" ,tar-boot0))) | ||
| 3466 | (_ | ||
| 3467 | `(("coreutils&co" ,%bootstrap-coreutils&co)))) | ||
| 3468 | ("make" ,gnu-make-boot0) | ||
| 3469 | ("diffutils" ,diffutils-boot0) | ||
| 3470 | ("findutils" ,findutils-boot0) | ||
| 3471 | ("file" ,file-boot0))) | ||
| 3479 | 3472 | ||
| 3480 | (define with-boot4 | 3473 | (define with-boot4 |
| 3481 | (package-with-explicit-inputs %boot4-inputs %bootstrap-guile)) | 3474 | (package-with-explicit-inputs %boot4-inputs %bootstrap-guile)) |
