aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/package.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm
index ba75cd778c..ac99d16497 100644
--- a/guix/scripts/package.scm
+++ b/guix/scripts/package.scm
@@ -211,7 +211,8 @@ all of PACKAGES, a list of name/version/output/path/deps tuples."
(leave (_ "error: profile `~a' does not exist~%")
profile))
((zero? number) ; empty profile
- (leave (_ "nothing to do: already at the empty profile~%")))
+ (format (current-error-port)
+ (_ "nothing to do: already at the empty profile~%")))
((or (zero? previous-number) ; going to emptiness
(not (file-exists? previous-profile)))
(let*-values (((drv-path drv)