build: Fix default value of `%state-directory'.

* guix/config.scm.in (%state-directory): Append `/nix'.
  Reported by Andreas Enge <andreas@enge.fr>.
This commit is contained in:
Ludovic Courtès 2012-12-13 23:53:37 +01:00
parent e2a06ddc7a
commit 7f4f06513a

View File

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