summaryrefslogtreecommitdiff
path: root/guix/build-system/gnu.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-05 12:35:29 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-05 12:35:29 +0200
commit8a4830231871c578c80523e973ecd85f1f596ba6 (patch)
tree7ecdbb03bb7ef323b6938318592d3cc036e4c554 /guix/build-system/gnu.scm
parent04f9f9158da348e8299e9ab90ec389ba81be46b0 (diff)
build-system/gnu: Define '%build-inputs' when cross-compiling.
Reported by Maxime Devos. * guix/build-system/gnu.scm (gnu-cross-build)[builder]: Define '%build-inputs' as it existed before 7d873f194ca69d6096d28d7a224ab78e83e34fe1.
Diffstat (limited to 'guix/build-system/gnu.scm')
-rw-r--r--guix/build-system/gnu.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm
index c74acb51b0..ea91be5bcd 100644
--- a/guix/build-system/gnu.scm
+++ b/guix/build-system/gnu.scm
@@ -516,6 +516,9 @@ platform."
(append #$(input-tuples->gexp host-inputs)
#+(input-tuples->gexp target-inputs)))
+ (define %build-inputs
+ (append %build-host-inputs %build-target-inputs))
+
(define %outputs
#$(outputs->gexp outputs))