aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-08 12:21:23 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-08 15:23:39 +0200
commit9953685c0985c6cc4481db3e351f1cc1dbf81e8b (patch)
treebb1afe432274a565babcb605b5a09cd0dce6f4dd /guix
parent751164bca1030dfd14f9fa7508c03eb4b41173e4 (diff)
downloadgnu-guix-9953685c0985c6cc4481db3e351f1cc1dbf81e8b.tar
gnu-guix-9953685c0985c6cc4481db3e351f1cc1dbf81e8b.tar.gz
config: Remove 'canonicalize-path' call.
The call was unnecessary and would cause test failures because 'test-tmp/db' does not exist initially. * guix/config.scm.in (%store-database-directory): Remove 'canonicalize-path' call.
Diffstat (limited to 'guix')
-rw-r--r--guix/config.scm.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/config.scm.in b/guix/config.scm.in
index dfe5fe0dbf..aeea81bd3f 100644
--- a/guix/config.scm.in
+++ b/guix/config.scm.in
@@ -83,7 +83,7 @@
(string-append %localstatedir "/guix")))
(define %store-database-directory
- (or (and=> (getenv "NIX_DB_DIR") canonicalize-path)
+ (or (getenv "NIX_DB_DIR")
(string-append %state-directory "/db")))
(define %config-directory