summaryrefslogtreecommitdiff
path: root/test-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 /test-env.in
parent566146abba4626bc02816118dd80bae68b8497d5 (diff)
downloadgnu-guix-70d1ce9afcd7454fc749cbfe0e0851d3e3e0312b.tar
gnu-guix-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 'test-env.in')
-rw-r--r--test-env.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/test-env.in b/test-env.in
index df73ecdc7a..9b5817f4ee 100644
--- a/test-env.in
+++ b/test-env.in
@@ -1,7 +1,7 @@
#!/bin/sh
# GNU Guix --- Functional package management for GNU
-# Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
+# Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of GNU Guix.
#
@@ -53,9 +53,6 @@ then
chmod 400 "$NIX_CONF_DIR/signing-key.sec"
fi
- # For 'guix-authenticate'.
- NIX_LIBEXEC_DIR="@abs_top_builddir@/nix/scripts"
-
# A place to store data of the substituter.
GUIX_BINARY_SUBSTITUTE_URL="file://$NIX_STATE_DIR/substituter-data"
rm -rf "$NIX_STATE_DIR/substituter-data"
@@ -67,7 +64,7 @@ then
export NIX_IGNORE_SYMLINK_STORE NIX_STORE_DIR \
NIX_LOCALSTATE_DIR NIX_LOG_DIR NIX_STATE_DIR NIX_DB_DIR \
NIX_ROOT_FINDER NIX_SETUID_HELPER GUIX_BINARY_SUBSTITUTE_URL \
- NIX_CONF_DIR NIX_LIBEXEC_DIR XDG_CACHE_HOME
+ NIX_CONF_DIR XDG_CACHE_HOME
# Do that because store.scm calls `canonicalize-path' on it.
mkdir -p "$NIX_STORE_DIR"