mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
qemu_kvm: disable tests that meddle with system time
This commit is contained in:
parent
7e5286db50
commit
774afb7ff2
1 changed files with 4 additions and 1 deletions
|
@ -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 <spice.h>' '#include <spice/spice.h>'
|
||||
|
|
Loading…
Reference in a new issue