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
|
@ -384,7 +384,8 @@ platform."
|
|||
((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 @@ platform."
|
|||
((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 New Issue