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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
261 B
Bash
Raw Normal View History

2014-10-09 22:49:15 +04:00
addChickenRepositoryPath() {
2016-06-25 17:53:21 +03:00
addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/8/"
export CHICKEN_INCLUDE_PATH="$1/share${CHICKEN_INCLUDE_PATH:+;$CHICKEN_INCLUDE_PATH}"
2014-10-09 22:49:15 +04:00
}
addEnvHooks "$targetOffset" addChickenRepositoryPath