libvirt: fix build on x86_64-darwin

This commit is contained in:
Weijia Wang 2022-08-06 12:01:58 +02:00
parent 9cfb5c053b
commit 3f383c75ef

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