nixpkgs-suyu/pkgs/development/compilers/chicken/setup-hook.sh

8 lines
313 B
Bash
Raw Normal View History

2014-10-09 20:49:15 +02:00
addChickenRepositoryPath() {
2016-06-25 16:53:21 +02:00
addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/8/"
2014-10-09 20:49:15 +02:00
# addToSearchPathWithCustomDelimiter \; CHICKEN_INCLUDE_PATH "$1/share/"
export CHICKEN_INCLUDE_PATH="$1/share;$CHICKEN_INCLUDE_PATH"
}
addEnvHooks "$targetOffset" addChickenRepositoryPath