summaryrefslogtreecommitdiff
path: root/pre-inst-env.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-01-26 15:53:34 +0100
committerLudovic Courtès <ludo@gnu.org>2014-01-26 15:53:56 +0100
commit70d1ce9afcd7454fc749cbfe0e0851d3e3e0312b (patch)
tree6a77ea9e76438fb2b40ddf9114c8be74ca8ab944 /pre-inst-env.in
parent566146abba4626bc02816118dd80bae68b8497d5 (diff)
downloadpatches-70d1ce9afcd7454fc749cbfe0e0851d3e3e0312b.tar
patches-70d1ce9afcd7454fc749cbfe0e0851d3e3e0312b.tar.gz
build: Set 'NIX_LIBEXEC_DIR' in 'pre-inst-env'.
Reported by Nikita Karetnikov <nikita@karetnikov.org>. * test-env.in: Move 'NIX_LIBEXEC_DIR' setting to... * pre-inst-env.in: ... here.
Diffstat (limited to 'pre-inst-env.in')
-rw-r--r--pre-inst-env.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in
index e90e1b0ac4..cd4ee01497 100644
--- a/pre-inst-env.in
+++ b/pre-inst-env.in
@@ -45,7 +45,10 @@ NIX_ROOT_FINDER="$abs_top_builddir/nix/scripts/list-runtime-roots"
NIX_SUBSTITUTERS="$abs_top_builddir/nix/scripts/substitute-binary"
NIX_SETUID_HELPER="$abs_top_builddir/nix-setuid-helper"
NIX_BUILD_HOOK="$abs_top_builddir/nix/scripts/offload"
-export NIX_ROOT_FINDER NIX_SETUID_HELPER NIX_SUBSTITUTERS NIX_BUILD_HOOK
+NIX_LIBEXEC_DIR="@abs_top_builddir@/nix/scripts" # for 'guix-authenticate'
+
+export NIX_ROOT_FINDER NIX_SETUID_HELPER NIX_SUBSTITUTERS \
+ NIX_BUILD_HOOK NIX_LIBEXEC_DIR
# The 'guix-register' program.
GUIX_REGISTER="$abs_top_builddir/guix-register"