diff options
Diffstat (limited to 'pkgs/os-specific/linux/qemu-kvm/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/qemu-kvm/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/qemu-kvm/default.nix b/pkgs/os-specific/linux/qemu-kvm/default.nix index eeaeacd46601..2f93769d2801 100644 --- a/pkgs/os-specific/linux/qemu-kvm/default.nix +++ b/pkgs/os-specific/linux/qemu-kvm/default.nix @@ -21,7 +21,10 @@ stdenv.mkDerivation rec { patches = [ ./fix-librt-check.patch ./fix-usb-passthrough.patch ]; - postPatch = "patchShebangs .;" + postPatch = '' + patchShebangs . + sed '/qtest_add_func.*check_time/d' -i tests/rtc-test.c + '' # disable tests that meddle with system time, they seem to work bad, maybe due to newer glib + stdenv.lib.optionalString spiceSupport '' for i in configure spice-qemu-char.c ui/spice-input.c ui/spice-core.c ui/qemu-spice.h; do substituteInPlace $i --replace '#include <spice.h>' '#include <spice/spice.h>' |