mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
derivations: 'graft-derivation' correctly handles multiple-output sources.
* guix/derivations.scm (graft-derivation): Add DRV as input for each one of OUTPUT-NAMES.
This commit is contained in:
parent
8dcec91426
commit
e5997888fa
1 changed files with 3 additions and 1 deletions
|
@ -1040,7 +1040,9 @@ (define add-label
|
||||||
#:guile-for-build guile
|
#:guile-for-build guile
|
||||||
#:modules '((guix build graft)
|
#:modules '((guix build graft)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
#:inputs `(("original" ,drv)
|
#:inputs `(,@(map (lambda (out)
|
||||||
|
`("x" ,drv ,out))
|
||||||
|
output-names)
|
||||||
,@(append (map add-label sources)
|
,@(append (map add-label sources)
|
||||||
(map add-label targets)))
|
(map add-label targets)))
|
||||||
#:outputs output-names
|
#:outputs output-names
|
||||||
|
|
Loading…
Reference in a new issue