libwhereami: enable on darwin

This commit is contained in:
Mario Rodas 2020-07-04 04:20:00 -05:00
parent dc80d7bc4a
commit b3f0d9da9a
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "puppetlabs";
};
NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
NIX_CFLAGS_COMPILE = "-Wno-error";
nativeBuildInputs = [ cmake ];
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
description = "Library to report hypervisor information from inside a VM";
license = licenses.asl20;
maintainers = [ maintainers.womfoo ];
platforms = with platforms; [ "i686-linux" "x86_64-linux" ]; # fails on aarch64
platforms = with platforms; [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; # fails on aarch64
};
}