build-system/gnu: Cross builds properly handle #:allowed-references & co.
Fixes <https://bugs.gnu.org/41775>. * guix/build-system/gnu.scm (gnu-cross-build)[canonicalize-reference]: Pass TARGET and SYSTEM to 'package-cross-derivation'.
This commit is contained in:
parent
8562124862
commit
50e7e6a065
1 changed files with 4 additions and 2 deletions
|
@ -513,9 +513,11 @@ (define* (gnu-cross-build store name
|
||||||
(define canonicalize-reference
|
(define canonicalize-reference
|
||||||
(match-lambda
|
(match-lambda
|
||||||
((? package? p)
|
((? package? p)
|
||||||
(derivation->output-path (package-cross-derivation store p system)))
|
(derivation->output-path (package-cross-derivation store p
|
||||||
|
target system)))
|
||||||
(((? package? p) output)
|
(((? package? p) output)
|
||||||
(derivation->output-path (package-cross-derivation store p system)
|
(derivation->output-path (package-cross-derivation store p
|
||||||
|
target system)
|
||||||
output))
|
output))
|
||||||
((? string? output)
|
((? string? output)
|
||||||
output)))
|
output)))
|
||||||
|
|
Loading…
Reference in a new issue