mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
build-system/trivial: Fix introduction of `%target' when cross-building.
* guix/build-system/trivial.scm (trivial-cross-build): Wrap BUILDER in a `let' rather than in `begin'.
This commit is contained in:
parent
934488ccd3
commit
9c71a2aec4
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ (define* (trivial-cross-build store name target source inputs native-inputs
|
|||
search-paths native-search-paths)
|
||||
"Like `trivial-build', but in a cross-compilation context."
|
||||
(build-expression->derivation store name system
|
||||
`(begin (define %target ,target) ,builder)
|
||||
`(let ((%target ,target)) ,builder)
|
||||
(append native-inputs inputs)
|
||||
#:outputs outputs
|
||||
#:modules modules
|
||||
|
|
Loading…
Reference in a new issue