about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-11-19 18:42:32 +0200
committerGitHub <noreply@github.com>2023-11-19 18:42:32 +0200
commit46e98ccc96d9ec130f85f6c2b8884db8fb735ba5 (patch)
tree44e6be9f1d3011e70e73536e6fd7409b80925ab9 /pkgs
parente33d15e18b3f3068ad7ae4ca86f3da2a3cb25c54 (diff)
parent9ce73e272faa38c4802e5d54e0efac6216e4ffe7 (diff)
Merge pull request #268519 from boltzmannrain/coresymbolication_c99_fix
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/darwin/CoreSymbolication/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/CoreSymbolication/default.nix b/pkgs/os-specific/darwin/CoreSymbolication/default.nix
index 5cf92a41a6f83..d9a2b378134a2 100644
--- a/pkgs/os-specific/darwin/CoreSymbolication/default.nix
+++ b/pkgs/os-specific/darwin/CoreSymbolication/default.nix
@@ -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; {