darwin.text_cmds: fix build with clang 16

+6 -1
+6 -1
pkgs/os-specific/darwin/apple-source-releases/text_cmds/default.nix
··· 20 20 done 21 21 ''; 22 22 23 - env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error=format-security" ]; # hardeningDisable doesn't cut it 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 + ]; 24 29 25 30 meta = { 26 31 platforms = lib.platforms.darwin;