diff options
author | aszlig <aszlig@redmoonstudios.org> | 2013-03-26 19:56:09 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2013-03-27 00:26:55 +0100 |
commit | a0716f28afd5b3f9028f40ea17d8b0a9097fcff8 (patch) | |
tree | 15cc16be308a56bca41f4215aa47237528590cca /pkgs/development/compilers/haxe | |
parent | 735779cee405e3d04f9c3da2558fbf7c63d26ebb (diff) | |
download | nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.tar nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.tar.gz nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.tar.bz2 nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.tar.lz nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.tar.xz nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.tar.zst nixpkgs-a0716f28afd5b3f9028f40ea17d8b0a9097fcff8.zip |
haxe: Use ignoreExternals and fix build.
Now, our builds shouldn't break anymore once there is a new change in ocamllibs. I've used revision 256 from ocamllibs, because this was approximately the revision we had back then when Haxe 2.10 got released. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/development/compilers/haxe')
-rw-r--r-- | pkgs/development/compilers/haxe/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/compilers/haxe/default.nix b/pkgs/development/compilers/haxe/default.nix index 817e4573df2..1b4f237cca5 100644 --- a/pkgs/development/compilers/haxe/default.nix +++ b/pkgs/development/compilers/haxe/default.nix @@ -5,12 +5,22 @@ stdenv.mkDerivation { buildInputs = [ocaml zlib neko]; - src = fetchsvn { + srcs = fetchsvn { url = "http://haxe.googlecode.com/svn/tags/v2-10"; - sha256 = "dbd3c655e4136eb68a165ef83b96bfc1f0f2eb9ec8729603b19bcd717a61a679"; + sha256 = "0vwdlj0vmmf97bg6cish7yah36aca2q599vwzbr1m0jpjbvindkh"; + ignoreExternals = true; + }; + + ocamllibs = fetchsvn { + url = "http://ocamllibs.googlecode.com/svn/trunk"; + sha256 = "143s320xn2xalm0lnw46h1fvy48qg7my3j8cf66f0wwzv2fisr1q"; + rev = 256; + ignoreExternals = true; }; prePatch = '' + cp -r "$ocamllibs" libs + chmod -R u+w libs sed -i -e 's|com.class_path <- \[|&"'"$out/lib/haxe/std/"'";|' main.ml ''; |