libwhereami: 0.2.0 -> 0.2.2, fix build with gcc8

This commit is contained in:
Franz Pletz
2019-06-17 07:25:55 +02:00
parent 3212dc84a9
commit 879038db5d
@@ -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 ];