self: 'guix-daemon' honors %localstatedir, %sysconfdir, and %storedir.
authorLudovic Courtès <ludo@gnu.org>
Sun, 26 May 2019 20:01:42 +0000 (22:01 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 26 May 2019 20:01:42 +0000 (22:01 +0200)
commitdfc69e4b6d4bbc41a4d37b3cc6ea12adb34aaafa
treecf26ec2c2e3c82732aae12efcc2bf9374587860b
parent45bdb6625115959dbf3874b69f89dd506b68fbb6
self: 'guix-daemon' honors %localstatedir, %sysconfdir, and %storedir.

Fixes <https://bugs.gnu.org/35874>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

Previously, the 'guix-daemon' program provided by 'guix pull' would
systematically use default directory locations for these.

* guix/self.scm (whole-package)[wrap]: Set GUIX_STATE_DIRECTORY,
GUIX_CONFIGURATION_DIRECTORY, and NIX_STORE_DIR.
guix/self.scm