summaryrefslogtreecommitdiff
path: root/pre-inst-env
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-10 19:00:07 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-10 19:00:07 +0200
commitfe0069ad05615265e2e58ca228acca9ec2fd0ffd (patch)
tree40bfb9a6ef114f9f7e6afff02a5aad263f9fb6fb /pre-inst-env
downloadguix-ietf-fe0069ad05615265e2e58ca228acca9ec2fd0ffd.tar.gz
first commit
Diffstat (limited to 'pre-inst-env')
-rwxr-xr-xpre-inst-env9
1 files changed, 9 insertions, 0 deletions
diff --git a/pre-inst-env b/pre-inst-env
new file mode 100755
index 0000000..47ab3f4
--- /dev/null
+++ b/pre-inst-env
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Helper script for building from Git, without needing to `guix pull`.
+
+GUILE_LOAD_COMPILED_PATH="$(pwd -P)${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
+GUILE_LOAD_PATH="$(pwd -P)${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
+export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
+
+exec "$@"