3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/haxe
aszlig 683e2067d7
haxe: Fix path to stdlib and add small test
The version bump in c727e7e7d6 (pull
request #35153) didn't actually take into account that Haxe has changed
the way they search for the stdlib. Instead of a hardcoded list of paths
it now searches based on a common prefix.

So when running Haxe, it errored out because it couldn't find its own
standard library. This is now fixed by changing the sed expression
accordingly.

Apart from fixing the actual issue, I've added a small test in
installCheckPhase to make sure something like this won't happen again in
future updates.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @volth, @joachifm
2018-04-17 13:59:36 +02:00
..
default.nix haxe: Fix path to stdlib and add small test 2018-04-17 13:59:36 +02:00
setup-hook.sh treewide: Don't use envHook anymore 2017-12-30 22:04:22 -05:00