Merge pull request #185402 from wegank/libvirt-x86_64-darwin

libvirt: fix build on x86_64-darwin
This commit is contained in:
Bernardo Meurer 2022-08-06 11:29:42 -07:00 committed by GitHub
commit b4a648e1fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,9 +136,12 @@ stdenv.mkDerivation rec {
'' + optionalString isDarwin ''
sed -i '/qemucapabilitiestest/d' tests/meson.build
sed -i '/vircryptotest/d' tests/meson.build
'' + optionalString (isDarwin && isx86_64) ''
sed -i '/qemucaps2xmltest/d' tests/meson.build
sed -i '/qemuhotplugtest/d' tests/meson.build
sed -i '/virnetdaemontest/d' tests/meson.build
'';
nativeBuildInputs = [
meson