From b874f305e5405f54c59b96ebca12299dba8019a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 24 Nov 2013 15:30:06 +0100 Subject: [PATCH] guix package: Honor the current output when upgrading. * guix/scripts/package.scm (specification->package+output): Pass OUTPUT to 'package-specification->name+version+output'. --- guix/scripts/package.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))