aboutsummaryrefslogtreecommitdiff
path: root/pre-inst-env
diff options
context:
space:
mode:
Diffstat (limited to 'pre-inst-env')
-rwxr-xr-xpre-inst-env6
1 files changed, 5 insertions, 1 deletions
diff --git a/pre-inst-env b/pre-inst-env
index f83ded1..0d6e2d5 100755
--- a/pre-inst-env
+++ b/pre-inst-env
@@ -10,7 +10,11 @@
'()))
":")))
-(prepend-path-environment! "GUILE_LOAD_PATH" (dirname (current-filename)))
+(define %source-dir
+ (dirname (current-filename)))
+
+(prepend-path-environment! "GUILE_LOAD_PATH" %source-dir)
+(prepend-path-environment! "GUILE_LOAD_COMPILED_PATH" %source-dir)
(match (command-line)
((_ command args ...)