diff --git a/pkgs/os-specific/linux/kvm/57.nix b/pkgs/os-specific/linux/kvm/57.nix index c7859eed178e..8b25a9a6ae32 100644 --- a/pkgs/os-specific/linux/kvm/57.nix +++ b/pkgs/os-specific/linux/kvm/57.nix @@ -15,7 +15,12 @@ stdenv.mkDerivation { # e2fsprogs is needed for libuuid. buildInputs = [zlib e2fsprogs SDL alsaLib]; - preConfigure = "for i in configure user/configure; do substituteInPlace $i --replace /bin/bash $shell; done"; + preConfigure = '' + for i in configure user/configure; do + substituteInPlace $i --replace /bin/bash $shell + done + substituteInPlace libkvm/Makefile --replace kvm_para.h kvm.h # !!! quick hack + ''; meta = { homepage = http://kvm.qumranet.com/;