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.
This commit is contained in:
Ludovic Courtès 2021-07-05 16:26:54 +02:00
parent 9ac9df25a1
commit 7d8c8b3194
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -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