about summary refs log tree commit diff
path: root/pkgs/development/compilers/chicken/5/setup-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/chicken/5/setup-hook.sh')
-rw-r--r--pkgs/development/compilers/chicken/5/setup-hook.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/compilers/chicken/5/setup-hook.sh b/pkgs/development/compilers/chicken/5/setup-hook.sh
new file mode 100644
index 000000000000..2447aeb0ceae
--- /dev/null
+++ b/pkgs/development/compilers/chicken/5/setup-hook.sh
@@ -0,0 +1,6 @@
+addChickenRepositoryPath() {
+    addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_PATH "$1/lib/chicken/9/"
+    addToSearchPathWithCustomDelimiter : CHICKEN_INCLUDE_PATH "$1/share/"
+}
+
+addEnvHooks "$targetOffset" addChickenRepositoryPath