summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbdunahu <bdunahu@operationnull.com>2026-03-19 00:09:09 -0400
committerbdunahu <bdunahu@operationnull.com>2026-03-19 00:09:09 -0400
commitb6a2a57db6b24fb35d9555eada25285a15486362 (patch)
treef673cb472cb434ab1018f0f1e8f10d94510354f7
parent574cc12c18428f67699482035439eb1fc8b36780 (diff)
Added script to set environment variables for testing features
-rwxr-xr-xpre-inst-env8
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 "$@"