Merge pull request #268519 from boltzmannrain/coresymbolication_c99_fix

authored by Artturi and committed by GitHub 46e98ccc e33d15e1

+10 -1
+10 -1
pkgs/os-specific/darwin/CoreSymbolication/default.nix
··· 1 - { lib, fetchFromGitHub, stdenv }: 1 + { lib, fetchFromGitHub, fetchpatch, stdenv }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "core-symbolication"; ··· 10 10 rev = "24c87c23664b3ee05dc7a5a87d647ae476a680e4"; 11 11 hash = "sha256-PzvLq94eNhP0+rLwGMKcMzxuD6MlrNI7iT/eV0obtSE="; 12 12 }; 13 + 14 + patches = [ 15 + # C99 compilation fix 16 + # https://github.com/matthewbauer/CoreSymbolication/pull/1 17 + (fetchpatch { 18 + url = "https://github.com/boltzmannrain/CoreSymbolication/commit/1c26cc93f260bda9230a93e91585284e80aa231f.patch"; 19 + hash = "sha256-d/ieDEnvZ9kVOjBVUdJzGmdvC1AF3Jk4fbwp04Q6l/I="; 20 + }) 21 + ]; 13 22 14 23 makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ]; 15 24