summaryrefslogtreecommitdiff
path: root/guix/store.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/store.scm')
-rw-r--r--guix/store.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 7715a15644..1012480b39 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -701,8 +701,7 @@ is true."
(define %store-prefix
;; Absolute path to the Nix store.
- (make-parameter (or (and=> (getenv "NIX_STORE_DIR") canonicalize-path)
- %store-directory)))
+ (make-parameter %store-directory))
(define (store-path? path)
"Return #t if PATH is a store path."