diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-11-07 10:22:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-11-07 18:39:55 +0100 |
commit | 537b2daba9a5f0c17bde2203e6fb074a661d5b32 (patch) | |
tree | 09049a8567d4104c02eeed4ee450abc6accb3edc /gnu | |
parent | 665467767577172db40eea510583dbf2faf56a58 (diff) | |
download | patches-537b2daba9a5f0c17bde2203e6fb074a661d5b32.tar patches-537b2daba9a5f0c17bde2203e6fb074a661d5b32.tar.gz |
gnu: commencement: Ensure 'gnu-make-final' refers to the native 'pkg-config'.
Fixes <https://bugs.gnu.org/38093>.
When running:
guix build --target=arm-linux-gnueabihf -e '(@ (gnu packages base) coreutils)'
the '%current-target-system' parameter is set by the time the top-level
of (gnu packages commencement) is evaluated. Consequently, we need to
ensure that the 'pkg-config' macro evaluates in a context where
'%current-target-system' is unset.
* gnu/packages/commencement.scm (gnu-make-final): Refer to '%pkg-config'
instead of 'pkg-config'.
* tests/guix-build.sh: Add test.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/commencement.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index b022a0d634..6a382c7517 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2402,7 +2402,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" ;; PKG-CONFIG. ;; TODO: Fix that on the next rebuild cycle. (let ((pkg-config (package - (inherit pkg-config) + (inherit %pkg-config) ;the native pkg-config (inputs `(("guile" ,guile-final) ,@(%boot5-inputs))) (arguments |