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>
This commit is contained in:
parent
617b371ba4
commit
2cc8680b88
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre }:
|
||||
{ stdenv, fetchurl, fetchpatch, boehmgc, zlib, sqlite, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "neko-${version}";
|
||||
@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1lcm1ahbklfpd5lnqjwmvyj2vr85jbq57hszk5jgq0x6yx6p3927";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.singleton (fetchpatch {
|
||||
url = "https://github.com/HaxeFoundation/neko/commit/"
|
||||
+ "ccc78c29deab7971e1369f4fe3dedd14cf9f3128.patch";
|
||||
sha256 = "1nya50rzai15hmpq2azganjxzgrfydf30glfwirgw6q8z7z3wpkq";
|
||||
});
|
||||
|
||||
prePatch = with stdenv.lib; let
|
||||
libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
|
||||
in ''
|
||||
|
Loading…
Reference in New Issue
Block a user