diff options
-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 |