diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-31 11:11:37 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:46 +0200 |
commit | 67b5b6b60e17ce4be4e67392c5483b7816abe7c3 (patch) | |
tree | 986353cb4955eb17c8747ec280889f008a9a4792 /gnu | |
parent | 84728d5ba408c11344f78a6da50fd720d74e3c0a (diff) | |
download | guix-67b5b6b60e17ce4be4e67392c5483b7816abe7c3.tar.gz guix-67b5b6b60e17ce4be4e67392c5483b7816abe7c3.zip |
gnu: gnu-make-final: Turn into a procedure to delay top-level evaluation.
This was causing a problem with the pkg-config syntax being evaluated too
early.
* gnu/packages/commencement.scm (gnu-make-final): Rename to...
(make-gnu-make-final): ... this, turning it into a procedure. Also use
%pkg-config to avoid more problems caused by pulling the special pkg-config
syntax.
(%final-inputs): Adjust accordingly.
Change-Id: Icf1d0e106a109afc8e121d5dcfff07df8d5dd1df
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/commencement.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 3a7c5903d6..6bf4449f8f 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3345,15 +3345,15 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" (define %boot5-inputs %boot4-inputs) (define with-boot5 with-boot4) -(define gnu-make-final - ;; The final GNU Make, which uses the final Guile. +(define (make-gnu-make-final) + "Compute the final GNU Make, which uses the final Guile." (let ((pkg-config (package (inherit %pkg-config) ;the native pkg-config (inputs `(("guile" ,guile-final) ,@(%boot5-inputs))) (arguments `(#:implicit-inputs? #f - ,@(package-arguments pkg-config)))))) + ,@(package-arguments %pkg-config)))))) (package (inherit (package-with-bootstrap-guile gnu-make)) (inputs `(("guile" ,guile-final) @@ -3442,7 +3442,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" ("grep" ,grep-final) ("xz" ,xz-final) ("coreutils" ,coreutils-final) - ("make" ,gnu-make-final) + ("make" ,(make-gnu-make-final)) ("bash" ,bash-final) ("ld-wrapper" ,ld-wrapper) ("binutils" ,binutils-final) |