mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
daemon: Remove 'NIX_LIBEXEC_DIR'.
* nix/libstore/globals.hh (Settings)[nixLibexecDir]: Remove. * nix/libstore/globals.cc (Settings::processEnvironment): Remove reference to 'nixLibexecDir'. * nix/local.mk (libstore_a_CPPFLAGS): Remove -DNIX_LIBEXEC_DIR flag. * build-aux/pre-inst-env.in: Remove references to 'NIX_LIBEXEC_DIR'.
This commit is contained in:
parent
f6919ebdc6
commit
82f903e70f
4 changed files with 0 additions and 11 deletions
|
@ -42,12 +42,6 @@ export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
|
||||||
PATH="$abs_top_builddir/scripts:$abs_top_builddir:$PATH"
|
PATH="$abs_top_builddir/scripts:$abs_top_builddir:$PATH"
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
# Daemon helpers.
|
|
||||||
|
|
||||||
NIX_LIBEXEC_DIR="@abs_top_builddir@/nix/scripts" # for 'authenticate', etc.
|
|
||||||
|
|
||||||
export NIX_LIBEXEC_DIR
|
|
||||||
|
|
||||||
# The daemon invokes 'guix'; tell it which one to use.
|
# The daemon invokes 'guix'; tell it which one to use.
|
||||||
GUIX="$abs_top_builddir/scripts/guix"
|
GUIX="$abs_top_builddir/scripts/guix"
|
||||||
export GUIX
|
export GUIX
|
||||||
|
|
|
@ -70,7 +70,6 @@ void Settings::processEnvironment()
|
||||||
nixStateDir = canonPath(getEnv("GUIX_STATE_DIRECTORY", NIX_STATE_DIR));
|
nixStateDir = canonPath(getEnv("GUIX_STATE_DIRECTORY", NIX_STATE_DIR));
|
||||||
nixDBPath = getEnv("GUIX_DATABASE_DIRECTORY", nixStateDir + "/db");
|
nixDBPath = getEnv("GUIX_DATABASE_DIRECTORY", nixStateDir + "/db");
|
||||||
nixConfDir = canonPath(getEnv("GUIX_CONFIGURATION_DIRECTORY", GUIX_CONFIGURATION_DIRECTORY));
|
nixConfDir = canonPath(getEnv("GUIX_CONFIGURATION_DIRECTORY", GUIX_CONFIGURATION_DIRECTORY));
|
||||||
nixLibexecDir = canonPath(getEnv("NIX_LIBEXEC_DIR", NIX_LIBEXEC_DIR));
|
|
||||||
nixBinDir = canonPath(getEnv("NIX_BIN_DIR", NIX_BIN_DIR));
|
nixBinDir = canonPath(getEnv("NIX_BIN_DIR", NIX_BIN_DIR));
|
||||||
nixDaemonSocketFile = canonPath(nixStateDir + DEFAULT_SOCKET_PATH);
|
nixDaemonSocketFile = canonPath(nixStateDir + DEFAULT_SOCKET_PATH);
|
||||||
guixProgram = canonPath(getEnv("GUIX", nixBinDir + "/guix"));
|
guixProgram = canonPath(getEnv("GUIX", nixBinDir + "/guix"));
|
||||||
|
|
|
@ -57,9 +57,6 @@ struct Settings {
|
||||||
/* The directory where configuration files are stored. */
|
/* The directory where configuration files are stored. */
|
||||||
Path nixConfDir;
|
Path nixConfDir;
|
||||||
|
|
||||||
/* The directory where internal helper programs are stored. */
|
|
||||||
Path nixLibexecDir;
|
|
||||||
|
|
||||||
/* The directory where the main programs are stored. */
|
/* The directory where the main programs are stored. */
|
||||||
Path nixBinDir;
|
Path nixBinDir;
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,6 @@ libstore_a_CPPFLAGS = \
|
||||||
-DNIX_STATE_DIR=\"$(localstatedir)/guix\" \
|
-DNIX_STATE_DIR=\"$(localstatedir)/guix\" \
|
||||||
-DNIX_LOG_DIR=\"$(localstatedir)/log/guix\" \
|
-DNIX_LOG_DIR=\"$(localstatedir)/log/guix\" \
|
||||||
-DGUIX_CONFIGURATION_DIRECTORY=\"$(sysconfdir)/guix\" \
|
-DGUIX_CONFIGURATION_DIRECTORY=\"$(sysconfdir)/guix\" \
|
||||||
-DNIX_LIBEXEC_DIR=\"$(libexecdir)/guix\" \
|
|
||||||
-DNIX_BIN_DIR=\"$(bindir)\" \
|
-DNIX_BIN_DIR=\"$(bindir)\" \
|
||||||
-DDEFAULT_CHROOT_DIRS="\"\""
|
-DDEFAULT_CHROOT_DIRS="\"\""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue