git.iko.soy/typeable/nixpkgs
on master help sign in
neko: Add patch fixing arg handling on 32bit.
2cc8680aszlig
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 }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "neko-${version}";
4 name = "neko-${version}";
@@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
9 sha256 = "1lcm1ahbklfpd5lnqjwmvyj2vr85jbq57hszk5jgq0x6yx6p3927";
9 sha256 = "1lcm1ahbklfpd5lnqjwmvyj2vr85jbq57hszk5jgq0x6yx6p3927";
10 };
10 };
11
11
12+ patches = stdenv.lib.singleton (fetchpatch {
13+ url = "https://github.com/HaxeFoundation/neko/commit/"
14+ + "ccc78c29deab7971e1369f4fe3dedd14cf9f3128.patch";
15+ sha256 = "1nya50rzai15hmpq2azganjxzgrfydf30glfwirgw6q8z7z3wpkq";
16+ });
17+
12 prePatch = with stdenv.lib; let
18 prePatch = with stdenv.lib; let
13 libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
19 libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
14 in ''
20 in ''