summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-05 16:26:54 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-05 16:26:54 +0200
commit7d8c8b3194d919a4cd462881981434d3b66ef08d (patch)
tree70a628e3c7d5618ba66cce6da5680ecf24d1a730
parent9ac9df25a17767a3a8f4335df1770cf4c02ab5bc (diff)
downloadguix-7d8c8b3194d919a4cd462881981434d3b66ef08d.tar.gz
build-system/trivial: Honor build inputs when cross-compiling.
Fixes a regression introduced in
7d873f194ca69d6096d28d7a224ab78e83e34fe1 whereby host inputs would be
missing altogether from '%build-inputs', which broke cross-compilation.

* guix/build-system/trivial.scm (trivial-cross-build): Append
HOST-INPUTS to the 'with-build-variables' argument.
-rw-r--r--guix/build-system/trivial.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build-system/trivial.scm b/guix/build-system/trivial.scm
index 73d452aea2..cd35c846ce 100644
--- a/guix/build-system/trivial.scm
+++ b/guix/build-system/trivial.scm
@@ -80,7 +80,7 @@ ignored."
                                        (sexp->gexp builder)
                                        builder)))
     (gexp->derivation name (with-build-variables
-                               (append build-inputs target-inputs)
+                               (append build-inputs target-inputs host-inputs)
                                outputs
                              builder)
                       #:system system