diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-08 12:21:23 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-08 15:23:39 +0200 |
commit | 9953685c0985c6cc4481db3e351f1cc1dbf81e8b (patch) | |
tree | bb1afe432274a565babcb605b5a09cd0dce6f4dd | |
parent | 751164bca1030dfd14f9fa7508c03eb4b41173e4 (diff) | |
download | 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.
-rw-r--r-- | guix/config.scm.in | 2 |
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 |