git.iko.soy/typeable/nixpkgs
on master help sign in
neko: Add patch fixing arg handling on 32bit.

The error was reported at HaxeFoundation/haxelib#152 and was fixed by HaxeFoundation/neko#41 in HaxeFoundation/neko@ccc78c2, the latter being fetchpatch'ed by us now. This has caused the hxcpp build to fail on i686-linux with an "Invalid array access" error. Signed-off-by: aszlig <aszlig@redmoonstudios.org>

commit2cc8680b88f1198fd4ea471572d450d2f2e377fb authoraszlig <aszlig@redmoonstudios.org> dateThu 10 Sep 2015, 18:30 (11 years ago) parent617b371
1 file changed+7−1
pkgs/development/compilers/neko/default.nix+7−1
pkgs/development/compilers/neko/default.nix+7−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre }:
1+{ stdenv, fetchurl, fetchpatch, boehmgc, zlib, sqlite, pcre }:
22
33stdenv.mkDerivation rec {
44 name = "neko-${version}";
@@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
99 sha256 = "1lcm1ahbklfpd5lnqjwmvyj2vr85jbq57hszk5jgq0x6yx6p3927";
1010 };
1111
12+ patches = stdenv.lib.singleton (fetchpatch {
13+ url = "https://github.com/HaxeFoundation/neko/commit/"
14+ + "ccc78c29deab7971e1369f4fe3dedd14cf9f3128.patch";
15+ sha256 = "1nya50rzai15hmpq2azganjxzgrfydf30glfwirgw6q8z7z3wpkq";
16+ });
17+
1218 prePatch = with stdenv.lib; let
1319 libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
1420 in ''