libwhereami: 0.2.0 -> 0.2.2, fix build with gcc8

This commit is contained in:
Franz Pletz 2019-01-11 11:59:17 +01:00
parent 3212dc84a9
commit 879038db5d
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -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 ];