summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-12-13 23:53:37 +0100
committerLudovic Courtès <ludo@gnu.org>2012-12-13 23:53:37 +0100
commit7f4f06513a7a75caff034ba446bd75188afcfd04 (patch)
treeb7798421933706419c74127bf41902292573e2e2
parente2a06ddc7a7d5620f7df8397cec714335b548d6a (diff)
build: Fix default value of `%state-directory'.
* guix/config.scm.in (%state-directory): Append `/nix'. Reported by Andreas Enge <andreas@enge.fr>.
-rw-r--r--guix/config.scm.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/config.scm.in b/guix/config.scm.in
index 4717b1c967..c5ebd39fae 100644
--- a/guix/config.scm.in
+++ b/guix/config.scm.in
@@ -46,7 +46,8 @@
"@storedir@")
(define %state-directory
- "@guix_localstatedir@")
+ ;; This must match `NIX_STATE_DIR' as defined in `daemon.am'.
+ "@guix_localstatedir@/nix")
(define %system
"@guix_system@")