nixpkgs/pkgs/development/compilers/chicken/4/setup-hook.sh
2018-12-26 22:23:01 -04:00

8 lines
313 B
Bash

addChickenRepositoryPath() {
addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/8/"
# addToSearchPathWithCustomDelimiter \; CHICKEN_INCLUDE_PATH "$1/share/"
export CHICKEN_INCLUDE_PATH="$1/share;$CHICKEN_INCLUDE_PATH"
}
addEnvHooks "$targetOffset" addChickenRepositoryPath