mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
daemon: Add "/guix" to default 'nixLibexecDir'.
This makes it easier to run the uninstalled daemon. * nix/local.mk (libstore_a_CPPFLAGS): Append "/guix" to NIX_LIBEXEC_DIR. * build-aux/pre-inst-env.in (NIX_LIBEXEC_DIR): Adjust comment. * nix/libstore/builtins.cc (builtinDownload): Remove SUBDIR and its use. * nix/libstore/local-store.cc (runAuthenticationProgram): Ditto. * nix/libstore/gc.cc (addAdditionalRoots): Remove "/guix" prefix. * nix/nix-daemon/guix-daemon.cc (main): Ditto.
This commit is contained in:
parent
4d4a38f620
commit
959eaa1eb8
6 changed files with 10 additions and 30 deletions
|
@ -110,7 +110,7 @@ libstore_a_CPPFLAGS = \
|
|||
-DNIX_STATE_DIR=\"$(localstatedir)/guix\" \
|
||||
-DNIX_LOG_DIR=\"$(localstatedir)/log/guix\" \
|
||||
-DGUIX_CONFIGURATION_DIRECTORY=\"$(sysconfdir)/guix\" \
|
||||
-DNIX_LIBEXEC_DIR=\"$(libexecdir)\" \
|
||||
-DNIX_LIBEXEC_DIR=\"$(libexecdir)/guix\" \
|
||||
-DNIX_BIN_DIR=\"$(bindir)\" \
|
||||
-DDEFAULT_CHROOT_DIRS="\"\""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue