diff --git a/pkgs/development/libraries/libwhereami/default.nix b/pkgs/development/libraries/libwhereami/default.nix index 2af550c7d99..62211a6b75d 100644 --- a/pkgs/development/libraries/libwhereami/default.nix +++ b/pkgs/development/libraries/libwhereami/default.nix @@ -11,8 +11,7 @@ stdenv.mkDerivation rec { owner = "puppetlabs"; }; - # post gcc7, upstream bug: https://tickets.puppetlabs.com/browse/FACT-1828 - NIX_CFLAGS_COMPILE = "-Wno-error=deprecated"; + NIX_CFLAGS_COMPILE = [ "-Wno-error=catch-value" ]; nativeBuildInputs = [ cmake ];