summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-04-28 20:16:38 +0200
committerLudovic Courtès <ludo@gnu.org>2026-06-05 16:24:49 +0200
commit3b671d42c54932c4f30fd3881cf1c3b4a772f05d (patch)
treedb99d165ebf1eb3c4574c8ca31c1be9934477b8d
parente228918c75cf34d8fb48dccb14103c7e78174a91 (diff)
gnu: %bootstrap-inputs-for-tests: Drop input labels.
* gnu/packages/bootstrap.scm (%bootstrap-inputs-for-tests): Drop input labels. * tests/union.scm ("union-build"): Rewrite input fetching accordingly. Change-Id: I575a1cc43c4e4947648ae0dace38337e8855525d Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #8213
-rw-r--r--gnu/packages/bootstrap.scm9
-rw-r--r--tests/union.scm12
2 files changed, 9 insertions, 12 deletions
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 01053fb3e19..5555098973c 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -1010,10 +1010,9 @@ exec ~a/bin/~a -B~a/lib \
1010 ;; These are bootstrap inputs that are cheap to produce (no compilation 1010 ;; These are bootstrap inputs that are cheap to produce (no compilation
1011 ;; needed) and that are meant to be used for testing. (These are those we 1011 ;; needed) and that are meant to be used for testing. (These are those we
1012 ;; used before the Mes-based full-source bootstrap.) 1012 ;; used before the Mes-based full-source bootstrap.)
1013 `(("libc" ,%bootstrap-glibc) 1013 (list %bootstrap-glibc
1014 ("gcc" ,%bootstrap-gcc) 1014 %bootstrap-gcc
1015 ("binutils" ,%bootstrap-binutils) 1015 %bootstrap-binutils
1016 ("coreutils&co" ,%bootstrap-coreutils&co) 1016 %bootstrap-coreutils&co))
1017 ("bash" ,%bootstrap-coreutils&co)))
1018 1017
1019;;; bootstrap.scm ends here 1018;;; bootstrap.scm ends here
diff --git a/tests/union.scm b/tests/union.scm
index a8387edf42e..51ab497383c 100644
--- a/tests/union.scm
+++ b/tests/union.scm
@@ -90,14 +90,12 @@
90 1)) 90 1))
91 91
92(test-assert "union-build" 92(test-assert "union-build"
93 (let* ((inputs (map (match-lambda 93 (let* ((inputs (map (lambda (package)
94 ((name package) 94 (list (package-name package)
95 `(,name ,(package-derivation %store package)))) 95 (package-derivation %store package)))
96
97 ;; Purposefully leave duplicate entries. 96 ;; Purposefully leave duplicate entries.
98 (filter (compose package? cadr) 97 (append %bootstrap-inputs-for-tests
99 (append %bootstrap-inputs-for-tests 98 (take %bootstrap-inputs-for-tests 3))))
100 (take %bootstrap-inputs-for-tests 3)))))
101 (builder `(begin 99 (builder `(begin
102 (use-modules (guix build union)) 100 (use-modules (guix build union))
103 (union-build (assoc-ref %outputs "out") 101 (union-build (assoc-ref %outputs "out")