[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: daemon: Remove 'NIX_LIBEXEC_DIR'.
From: |
guix-commits |
Subject: |
06/07: daemon: Remove 'NIX_LIBEXEC_DIR'. |
Date: |
Sun, 8 Sep 2019 06:02:43 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 82f903e70f580c34503052245625354d2f097d7e
Author: Ludovic Courtès <address@hidden>
Date: Wed Sep 4 12:00:31 2019 +0200
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'.
---
build-aux/pre-inst-env.in | 6 ------
nix/libstore/globals.cc | 1 -
nix/libstore/globals.hh | 3 ---
nix/local.mk | 1 -
4 files changed, 11 deletions(-)
diff --git a/build-aux/pre-inst-env.in b/build-aux/pre-inst-env.in
index f962881..e0aa7fe 100644
--- a/build-aux/pre-inst-env.in
+++ b/build-aux/pre-inst-env.in
@@ -42,12 +42,6 @@ export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
PATH="$abs_top_builddir/scripts:$abs_top_builddir:$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.
GUIX="$abs_top_builddir/scripts/guix"
export GUIX
diff --git a/nix/libstore/globals.cc b/nix/libstore/globals.cc
index 8f7c976..0cc001f 100644
--- a/nix/libstore/globals.cc
+++ b/nix/libstore/globals.cc
@@ -70,7 +70,6 @@ void Settings::processEnvironment()
nixStateDir = canonPath(getEnv("GUIX_STATE_DIRECTORY", NIX_STATE_DIR));
nixDBPath = getEnv("GUIX_DATABASE_DIRECTORY", nixStateDir + "/db");
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));
nixDaemonSocketFile = canonPath(nixStateDir + DEFAULT_SOCKET_PATH);
guixProgram = canonPath(getEnv("GUIX", nixBinDir + "/guix"));
diff --git a/nix/libstore/globals.hh b/nix/libstore/globals.hh
index 0069c85..27616a2 100644
--- a/nix/libstore/globals.hh
+++ b/nix/libstore/globals.hh
@@ -57,9 +57,6 @@ struct Settings {
/* The directory where configuration files are stored. */
Path nixConfDir;
- /* The directory where internal helper programs are stored. */
- Path nixLibexecDir;
-
/* The directory where the main programs are stored. */
Path nixBinDir;
diff --git a/nix/local.mk b/nix/local.mk
index 18e9ba7..dc5a839 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -110,7 +110,6 @@ libstore_a_CPPFLAGS = \
-DNIX_STATE_DIR=\"$(localstatedir)/guix\" \
-DNIX_LOG_DIR=\"$(localstatedir)/log/guix\" \
-DGUIX_CONFIGURATION_DIRECTORY=\"$(sysconfdir)/guix\" \
- -DNIX_LIBEXEC_DIR=\"$(libexecdir)/guix\" \
-DNIX_BIN_DIR=\"$(bindir)\" \
-DDEFAULT_CHROOT_DIRS="\"\""
- branch master updated (7fcc2f9 -> cc98b00), guix-commits, 2019/09/08
- 02/07: daemon: Run 'guix authenticate' directly., guix-commits, 2019/09/08
- 03/07: daemon: Run 'guix perform-download' directly., guix-commits, 2019/09/08
- 06/07: daemon: Remove 'NIX_LIBEXEC_DIR'.,
guix-commits <=
- 07/07: etc: Remove references to libexec/guix* from SELinux policy., guix-commits, 2019/09/08
- 04/07: daemon: Run 'guix offload' directly., guix-commits, 2019/09/08
- 05/07: daemon: Run 'guix substitute' directly and assume a single substituter., guix-commits, 2019/09/08
- 01/07: daemon: Invoke 'guix gc --list-busy' instead of 'list-runtime-roots'., guix-commits, 2019/09/08