From 774afb7ff2cc77465b2a66054e70a5898e034e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 11 Apr 2013 18:58:46 +0200 Subject: [PATCH] qemu_kvm: disable tests that meddle with system time --- pkgs/os-specific/linux/qemu-kvm/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/qemu-kvm/default.nix b/pkgs/os-specific/linux/qemu-kvm/default.nix index 6c2c8d57fc5..a0f0c80a3d7 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 ]; - 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 ' '#include '