diff --git a/pkgs/by-name/pm/pmccabe/package.nix b/pkgs/by-name/pm/pmccabe/package.nix index 9f3982397dae..1b861d42901d 100644 --- a/pkgs/by-name/pm/pmccabe/package.nix +++ b/pkgs/by-name/pm/pmccabe/package.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { ./getopt_on_darwin.patch ]; + # GCC 14 made implicit function declarations an error. With this switch we turn them + # back into a warning. + env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; + configurePhase = '' sed -i -r Makefile \ -e 's,/usr/,/,g' \ @@ -50,3 +54,4 @@ stdenv.mkDerivation rec { platforms = platforms.unix; }; } +