Commit bc30be8c authored by Weijia Wang's avatar Weijia Wang
Browse files

netpbm: fix build with clang 16

parent b1b0b6e3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -95,6 +95,10 @@ stdenv.mkDerivation {
    runHook postConfigure
  '';

  env = lib.optionalAttrs stdenv.cc.isClang {
    NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
  };

  installPhase = ''
    runHook preInstall