Unverified Commit daa4cd2c authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

darwin.text_cmds: fix build with clang 16

parent bed56440
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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;