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.
master
Ludovic Courtès 2018-06-08 12:21:23 +02:00
parent 751164bca1
commit 9953685c09
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -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