diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-10-27 22:52:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-10-27 22:52:13 +0200 |
commit | b8605698b8611f4835ee526a122e432665b07b73 (patch) | |
tree | 991be8ad4e2ee56ec29d12644c14dc5a922591f5 | |
parent | 1c52c42fe23e042d02687e477b1a42c0bd92cf66 (diff) | |
download | guix-b8605698b8611f4835ee526a122e432665b07b73.tar.gz guix-b8605698b8611f4835ee526a122e432665b07b73.zip |
build: Make sure scripts know where to find their modules.
* guix-build.in, guix-download.in: Define `prefix' and `datarootdir', so
that `guilemoduledir' expands to something meaningful.
-rw-r--r-- | guix-build.in | 3 | ||||
-rw-r--r-- | guix-download.in | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/guix-build.in b/guix-build.in index c241bf4fef..bd32ce951e 100644 --- a/guix-build.in +++ b/guix-build.in @@ -1,6 +1,9 @@ #!/bin/sh # aside from this initial boilerplate, this is actually -*- scheme -*- code +prefix="@prefix@" +datarootdir="@datarootdir@" + GUILE_LOAD_COMPILED_PATH="@guilemoduledir@:$GUILE_LOAD_COMPILED_PATH" export GUILE_LOAD_COMPILED_PATH diff --git a/guix-download.in b/guix-download.in index 6ebb5148f8..3892b2efe3 100644 --- a/guix-download.in +++ b/guix-download.in @@ -1,6 +1,9 @@ #!/bin/sh # aside from this initial boilerplate, this is actually -*- scheme -*- code +prefix="@prefix@" +datarootdir="@datarootdir@" + GUILE_LOAD_COMPILED_PATH="@guilemoduledir@:$GUILE_LOAD_COMPILED_PATH" export GUILE_LOAD_COMPILED_PATH |