From bc8eb14767280bfda91c487e331918483f7ec109 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 10 Mar 2008 15:24:42 +0000 Subject: [PATCH] * Hack to get KVM to build again. svn path=/nixpkgs/trunk/; revision=11038 --- pkgs/os-specific/linux/kvm/57.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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/;