runzip: fix Darwin build by setting CFLAGS=-std=gnu17

This commit is contained in:
山下
2026-04-24 07:41:48 +09:00
parent 1b1259fa2f
commit 246f177fd5
+2
View File
@@ -28,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs tests/check-runzip.sh
'';
configureFlags = [ "CFLAGS=-std=gnu17" ];
env.NIX_CFLAGS_COMPILE = toString [
"-Wno-error=implicit-int"
"-Wno-error=incompatible-pointer-types"