use new kernel headers
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2053
This commit is contained in:
parent
81e13c1572
commit
4b16211201
|
@ -123,7 +123,6 @@ if test "$NIX_DONT_SET_RPATH" != "1"; then
|
|||
for i in $rpath; do
|
||||
extra=(${extra[@]} -rpath $i)
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
@ -143,4 +142,5 @@ if test -n "$NIX_LD_WRAPPER_EXEC_HOOK"; then
|
|||
. "$NIX_LD_WRAPPER_EXEC_HOOK"
|
||||
fi
|
||||
|
||||
echo "ld command: " @ld@ ${extraBefore[@]} "${params[@]}" ${extra[@]}
|
||||
exec @ld@ ${extraBefore[@]} "${params[@]}" ${extra[@]}
|
||||
|
|
|
@ -11,7 +11,7 @@ buildPhase=buildPhase
|
|||
installPhase() {
|
||||
mkdir $out
|
||||
mkdir $out/include
|
||||
cp -prvd include/linux include/asm-i386 $out/include
|
||||
cp -prvd include/linux include/asm-i386 include/asm-generic $out/include
|
||||
cd $out/include
|
||||
ln -s asm-i386 asm
|
||||
echo -n > $out/include/linux/autoconf.h
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "linux-headers-2.4.25-i386";
|
||||
name = "linux-headers-2.6.9-i386";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/os/Linux/system/kernel/v2.4/linux-2.4.25.tar.bz2;
|
||||
md5 = "5fc8e9f43fa44ac29ddf9a9980af57d8";
|
||||
url = ftp://ftp.nluug.nl/pub/os/Linux/system/kernel/v2.6/linux-2.6.9.tar.bz2;
|
||||
md5 = "e921200f074ca97184e150ef5a4af825";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue