flex_2_5_35: Fix build on darwin

This commit is contained in:
Linus Vettiger
2026-05-16 14:29:08 +02:00
parent 2a06ee57d5
commit ec442deb85
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
};
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_CFLAGS_COMPILE = "-std=gnu17";
};
postPatch = ''
patchShebangs tests
'';