about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-17 21:18:54 +0100
committerGitHub <noreply@github.com>2023-12-17 21:18:54 +0100
commit3acbe6dd03afa1ed51fb62392b502c25cd30b30d (patch)
treee7ca257d53802aa06701fb82f23fbbe42ea68993
parent2d8957a1f2fce0ae893c7a77f7b7e2ab7d55bd38 (diff)
parent8f860747f0621cb2b0e9f6a85694a8373302f037 (diff)
Merge pull request #275052 from NixOS/backport-272259-to-release-23.11
[Backport release-23.11] jshon: fix build on aarch64-darwin
-rw-r--r--pkgs/development/tools/parsing/jshon/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/jshon/default.nix b/pkgs/development/tools/parsing/jshon/default.nix
index 04a1a637207d2..977c4bb398c2d 100644
--- a/pkgs/development/tools/parsing/jshon/default.nix
+++ b/pkgs/development/tools/parsing/jshon/default.nix
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ jansson ];
 
+  env.NIX_CFLAGS_COMPILE = "-Wno-error=strict-prototypes";
+
   patches = [
     (fetchpatch {
       # https://github.com/keenerd/jshon/pull/62