flex_2_5_35: Fix build on darwin (#520890)

This commit is contained in:
Silvan Mosberger
2026-05-17 14:44:11 +00:00
committed by GitHub
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
};
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_CFLAGS_COMPILE = "-std=gnu17";
};
postPatch = ''
patchShebangs tests
'';