diff options
Diffstat (limited to 'pkgs/os-specific/linux/qemu-kvm/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/qemu-kvm/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/qemu-kvm/default.nix b/pkgs/os-specific/linux/qemu-kvm/default.nix index 11242483fdcb..6c2c8d57fc50 100644 --- a/pkgs/os-specific/linux/qemu-kvm/default.nix +++ b/pkgs/os-specific/linux/qemu-kvm/default.nix @@ -20,7 +20,9 @@ stdenv.mkDerivation rec { ] ++ stdenv.lib.optionals spiceSupport [ spice_protocol spice ]; patches = [ ./fix-librt-check.patch ]; - postPatch = "patchShebangs ." + stdenv.lib.optionalString spiceSupport '' + + postPatch = "patchShebangs .;" + + 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>' done |