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
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@
"@storedir@") "@storedir@")
(define %state-directory (define %state-directory
"@guix_localstatedir@") ;; This must match `NIX_STATE_DIR' as defined in `daemon.am'.
"@guix_localstatedir@/nix")
(define %system (define %system
"@guix_system@") "@guix_system@")