* KVM 84. CIFS/Samba performance still broken.

* Kernel headers: KVM expects a include/linux/asm-x86 symlink, so
  provide it.

svn path=/nixpkgs/trunk/; revision=14113
This commit is contained in:
Eelco Dolstra
2009-02-18 14:53:14 +00:00
parent 9f4ca51e8e
commit 539239d66d
3 changed files with 13 additions and 8 deletions
@@ -20,9 +20,6 @@ stdenv.mkDerivation {
buildInputs = [perl];
# !!! hacky
fixupPhase = "ln -s $out/include/asm $out/include/asm-$platform";
extraIncludeDirs =
if stdenv.system == "powerpc-linux" then ["ppc"] else [];
@@ -41,4 +38,12 @@ stdenv.mkDerivation {
ensureDir $out/include/config
echo "${version}-default" > $out/include/config/kernel.release
'';
# !!! hacky
fixupPhase = ''
ln -s asm $out/include/asm-$platform
if test "$platform" = "i386" -o "$platform" = "x86_64"; then
ln -s asm $out/include/asm-x86
fi
'';
}