mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
build-system/gnu: Make sure build input variables contain pairs.
* guix/build-system/gnu.scm (gnu-cross-build)[builder]: Make sure %build-host-inputs and %build-target-inputs always contain pairs, not lists.
This commit is contained in:
parent
2ee5f56b4d
commit
ee4d736881
1 changed files with 4 additions and 2 deletions
|
@ -384,7 +384,8 @@ (define %build-host-inputs
|
|||
((name (? derivation-path? drv-path) sub ...)
|
||||
`(,name . ,(apply derivation-path->output-path
|
||||
drv-path sub)))
|
||||
(x x))
|
||||
((name path)
|
||||
`(,name . ,path)))
|
||||
(append (or implicit-host-inputs '()) native-inputs)))
|
||||
|
||||
(define %build-target-inputs
|
||||
|
@ -392,7 +393,8 @@ (define %build-target-inputs
|
|||
((name (? derivation-path? drv-path) sub ...)
|
||||
`(,name . ,(apply derivation-path->output-path
|
||||
drv-path sub)))
|
||||
(x x))
|
||||
((name path)
|
||||
`(,name . ,path)))
|
||||
(append (or implicit-target-inputs) inputs)))
|
||||
|
||||
(gnu-build #:source ,(if (and source (derivation-path? source))
|
||||
|
|
Loading…
Reference in a new issue