Fixed layout

svn path=/nixpkgs/trunk/; revision=12102
This commit is contained in:
Michael Raskin 2008-06-15 16:24:19 +00:00
parent 9bb2afe778
commit 2de91e4614

View File

@ -11,7 +11,12 @@ stdenv.mkDerivation {
make KBUILD=$(echo \$kernel/lib/modules/*/build);
";
installPhase = "make install KBUILD=$(cat kbuild_path) DESTDIR=$out";
installPhase = ''
make install KBUILD=$(cat kbuild_path) DESTDIR=$out
mv $out/usr/sbin/* $out/sbin/
mv $out/usr/share $out/
rm -r $out/usr
'';
# should we use unstable?
src = args.fetchurl {