aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/package.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index 25ff008246..68869b4cec 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -703,7 +703,7 @@ more information.~%"))
`(,(package-name p)
,(package-version p)
,out
- ,path
+ ,p
,(canonicalize-deps deps))))
(define (show-what-to-remove/install remove install dry-run?)
@@ -771,7 +771,7 @@ more information.~%"))
upgrade
(filter-map (match-lambda
(('install . (? package? p))
- #f)
+ (package->tuple p))
(('install . (? store-path?))
#f)
(('install . package)
@@ -789,7 +789,7 @@ more information.~%"))
(install* (append
(filter-map (match-lambda
(('install . (? package? p))
- (package->tuple p))
+ #f)
(('install . (? store-path? path))
(let-values (((name version)
(package-name->name+version