mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
jshon: fix build on aarch64-darwin
``` jshon> clang -std=c99 -Wall -pedantic -Wextra -Werror -c -o jshon.o jshon.c jshon> jshon.c:189:25: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] jshon> json_t** stack_safe_peek() jshon> ^ jshon> void jshon> 6 errors generated. jshon> make: *** [<builtin>: jshon.o] Error 1 ``` Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
This commit is contained in:
parent
8409e43c22
commit
73877a6f34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user