darwin.text_cmds: fix build with clang 16

This commit is contained in:
Randy Eckenrode 2023-11-07 07:35:22 -05:00
parent bed56440cb
commit daa4cd2c2a
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -20,7 +20,12 @@ appleDerivation {
done
'';
env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=format-security" ]; # hardeningDisable doesn't cut it
env.NIX_CFLAGS_COMPILE = toString [
# hardeningDisable doesn't cut it
"-Wno-error=format-security"
# Required to build with clang 16
"-Wno-error=deprecated-non-prototype"
];
meta = {
platforms = lib.platforms.darwin;