darwin.text_cmds: fix build with clang 16

+6 -1
+6 -1
pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix
··· 20 done 21 ''; 22 23 - env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=format-security" ]; # hardeningDisable doesn't cut it 24 25 meta = { 26 platforms = lib.platforms.darwin;
··· 20 done 21 ''; 22 23 + env.NIX_CFLAGS_COMPILE = toString [ 24 + # hardeningDisable doesn't cut it 25 + "-Wno-error=format-security" 26 + # Required to build with clang 16 27 + "-Wno-error=deprecated-non-prototype" 28 + ]; 29 30 meta = { 31 platforms = lib.platforms.darwin;