aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-package.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix-package.in b/guix-package.in
index ab0191faa2..053f8fbf83 100644
--- a/guix-package.in
+++ b/guix-package.in
@@ -604,9 +604,9 @@ Install, remove, or upgrade PACKAGES in a single transaction.\n"))
(setvbuf (current-error-port) _IOLBF)
(let ((opts (parse-options)))
- (parameterize ((%store (open-connection)))
- (with-error-handling
- (or (process-query opts)
+ (or (process-query opts)
+ (parameterize ((%store (open-connection)))
+ (with-error-handling
(parameterize ((%guile-for-build
(package-derivation (%store)
(if (assoc-ref opts 'bootstrap?)