aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-11-24 15:30:06 +0100
committerLudovic Courtès <ludo@gnu.org>2013-11-24 15:30:06 +0100
commitb874f305e5405f54c59b96ebca12299dba8019a1 (patch)
tree06f7d3a56742d4fb239b018cd2dcc785dd403504
parent53c85e97dcc264da5ff5cd4e3be4d47028f4d726 (diff)
downloadguix-b874f305e5405f54c59b96ebca12299dba8019a1.tar
guix-b874f305e5405f54c59b96ebca12299dba8019a1.tar.gz
guix package: Honor the current output when upgrading.
* guix/scripts/package.scm (specification->package+output): Pass OUTPUT to 'package-specification->name+version+output'.
-rw-r--r--guix/scripts/package.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index bf39259922..2890d54ebc 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -324,7 +324,7 @@ version; if SPEC does not specify an output, return OUTPUT."
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)
((p)
(values p (ensure-output p sub-drv)))