From 7f4f06513a7a75caff034ba446bd75188afcfd04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 13 Dec 2012 23:53:37 +0100 Subject: [PATCH] build: Fix default value of `%state-directory'. * guix/config.scm.in (%state-directory): Append `/nix'. Reported by Andreas Enge . --- guix/config.scm.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ (define %store-directory "@storedir@") (define %state-directory - "@guix_localstatedir@") + ;; This must match `NIX_STATE_DIR' as defined in `daemon.am'. + "@guix_localstatedir@/nix") (define %system "@guix_system@")