summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-07-02 01:51:56 +0200
committerMathieu Lirzin <mthl@gnu.org>2016-07-02 01:51:56 +0200
commit94f910355ca989832814e9b27fa6d2b194e22ec7 (patch)
tree201842303299239f1d149963f9fb870c27195199 /build-aux
parentb185505db018ce99cf2d526418dbf6a8848cde83 (diff)
downloadcuirass-94f910355ca989832814e9b27fa6d2b194e22ec7.tar
cuirass-94f910355ca989832814e9b27fa6d2b194e22ec7.tar.gz
job: Add load-path field to <job-spec>.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/pre-inst-env.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/build-aux/pre-inst-env.in b/build-aux/pre-inst-env.in
index f6af39b..5b61cb2 100644
--- a/build-aux/pre-inst-env.in
+++ b/build-aux/pre-inst-env.in
@@ -22,6 +22,7 @@ abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd`"
GUILE_LOAD_COMPILED_PATH="$abs_top_builddir/src${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
GUILE_LOAD_PATH="$abs_top_builddir/src:$abs_top_srcdir/src${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
+export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
PATH="$abs_top_builddir/bin:$PATH"
export PATH
@@ -29,10 +30,4 @@ export PATH
CUIRASS_CACHEDIR="$abs_top_builddir/cache"
export CUIRASS_CACHEDIR
-# Append Guix cloned repository to Guile load paths.
-guixdir="$CUIRASS_CACHEDIR/guix"
-GUILE_LOAD_COMPILED_PATH="$guixdir:$GUILE_LOAD_COMPILED_PATH"
-GUILE_LOAD_PATH="$guixdir:$GUILE_LOAD_PATH"
-export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
-
exec "$@"