@@ -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 ''