diff options
Diffstat (limited to 'pre-inst-env')
| -rwxr-xr-x | pre-inst-env | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pre-inst-env b/pre-inst-env new file mode 100755 index 0000000..f4cb562 --- /dev/null +++ b/pre-inst-env @@ -0,0 +1,8 @@ +#!/bin/sh + +load_path="$(dirname "$(realpath "$0")")/modules" + +export GUILE_LOAD_PATH="${load_path}${GUILE_LOAD_PATH:+:}${GUILE_LOAD_PATH}" +export GUIX_PACKAGE_PATH="${load_path}${GUIX_PACKAGE_PATH:+:}${GUIX_PACKAGE_PATH}" + +exec "$@" |
