guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: config: Remove 'canonicalize-path' call.


From: Ludovic Courtès
Subject: 02/05: config: Remove 'canonicalize-path' call.
Date: Fri, 8 Jun 2018 09:23:46 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 9953685c0985c6cc4481db3e351f1cc1dbf81e8b
Author: Ludovic Courtès <address@hidden>
Date:   Fri Jun 8 12:21:23 2018 +0200

    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.
---
 guix/config.scm.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/config.scm.in b/guix/config.scm.in
index dfe5fe0..aeea81b 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]