mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
bootstrap: %bootstrap-inputs: Wrap input lists into thunks.
* gnu/packages/bootstrap.scm (%bootstrap-inputs): Change to procedure. Update users; prepares for Mes bootstrap. * gnu/packages/commencement.scm (%boot0-inputs, %boot1-inputs, %boot2-inputs, %boot3-inputs, %boot4-inputs, %boot5-inputs, %boot-6-inputs): Change to procedure. Update users. * tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths): Make a procedure, filter on package?. Update users.
This commit is contained in:
parent
985d542e02
commit
a2b2070b67
6 changed files with 81 additions and 74 deletions
|
@ -388,9 +388,9 @@ the image."
|
|||
"Return the C compiler that uses the bootstrap toolchain. This is used only
|
||||
by '--bootstrap', for testing purposes."
|
||||
(define bootstrap-toolchain
|
||||
(list (first (assoc-ref %bootstrap-inputs "gcc"))
|
||||
(first (assoc-ref %bootstrap-inputs "binutils"))
|
||||
(first (assoc-ref %bootstrap-inputs "libc"))))
|
||||
(list (first (assoc-ref (%bootstrap-inputs) "gcc"))
|
||||
(first (assoc-ref (%bootstrap-inputs) "binutils"))
|
||||
(first (assoc-ref (%bootstrap-inputs) "libc"))))
|
||||
|
||||
(c-compiler bootstrap-toolchain
|
||||
#:guile %bootstrap-guile))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue