diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-03 16:39:26 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-03 16:39:26 +0100 |
commit | bc30be8ce6f7ff2160d302dfac8bee47e1861d09 (patch) | |
tree | db3bc3cf0c9079d85e0778e66b3f0f38ac1a4eb3 /pkgs/tools/graphics/netpbm | |
parent | b1b0b6e3e76960d83239fc293cf5902adb01a91d (diff) |
netpbm: fix build with clang 16
Diffstat (limited to 'pkgs/tools/graphics/netpbm')
-rw-r--r-- | pkgs/tools/graphics/netpbm/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/netpbm/default.nix b/pkgs/tools/graphics/netpbm/default.nix index 69af8d86b6790..e93e485979ae5 100644 --- a/pkgs/tools/graphics/netpbm/default.nix +++ b/pkgs/tools/graphics/netpbm/default.nix @@ -95,6 +95,10 @@ stdenv.mkDerivation { runHook postConfigure ''; + env = lib.optionalAttrs stdenv.cc.isClang { + NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration"; + }; + installPhase = '' runHook preInstall |