diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-11-24 15:30:06 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-11-24 15:30:06 +0100 |
commit | b874f305e5405f54c59b96ebca12299dba8019a1 (patch) | |
tree | 06f7d3a56742d4fb239b018cd2dcc785dd403504 | |
parent | 53c85e97dcc264da5ff5cd4e3be4d47028f4d726 (diff) | |
download | 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.scm | 2 |
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))) |