mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #268519 from boltzmannrain/coresymbolication_c99_fix
This commit is contained in:
commit
46e98ccc96
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, stdenv }:
|
||||
{ lib, fetchFromGitHub, fetchpatch, stdenv }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "core-symbolication";
|
||||
@ -11,6 +11,15 @@ stdenv.mkDerivation {
|
||||
hash = "sha256-PzvLq94eNhP0+rLwGMKcMzxuD6MlrNI7iT/eV0obtSE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# C99 compilation fix
|
||||
# https://github.com/matthewbauer/CoreSymbolication/pull/1
|
||||
(fetchpatch {
|
||||
url = "https://github.com/boltzmannrain/CoreSymbolication/commit/1c26cc93f260bda9230a93e91585284e80aa231f.patch";
|
||||
hash = "sha256-d/ieDEnvZ9kVOjBVUdJzGmdvC1AF3Jk4fbwp04Q6l/I=";
|
||||
})
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user