nixpkgs/pkgs/development/compilers/haxe/setup-hook.sh

6 lines
96 B
Bash

addHaxeLibPath() {
addToSearchPath HAXELIB_PATH "$1/lib/haxe"
}
envHooks+=(addHaxeLibPath)