runzip: fix Darwin build by setting CFLAGS=-std=gnu17 (#512937)

This commit is contained in:
7c6f434c
2026-04-27 07:33:36 +00:00
committed by GitHub
+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"