guix package: Honor the current output when upgrading.
* guix/scripts/package.scm (specification->package+output): Pass OUTPUT to 'package-specification->name+version+output'.
This commit is contained in:
parent
53c85e97dc
commit
b874f305e5
|
@ -324,7 +324,7 @@ version; if SPEC does not specify an output, return OUTPUT."
|
||||||
sub-drv)))
|
sub-drv)))
|
||||||
|
|
||||||
(let-values (((name version sub-drv)
|
(let-values (((name version sub-drv)
|
||||||
(package-specification->name+version+output spec)))
|
(package-specification->name+version+output spec output)))
|
||||||
(match (find-best-packages-by-name name version)
|
(match (find-best-packages-by-name name version)
|
||||||
((p)
|
((p)
|
||||||
(values p (ensure-output p sub-drv)))
|
(values p (ensure-output p sub-drv)))
|
||||||
|
|
Loading…
Reference in New Issue