linux-headers: Remove dead old version
This sat around unused for who knows how long
This commit is contained in:
parent
f5e0e94b2a
commit
fb5d7b218d
@ -1,29 +0,0 @@
|
||||
{ stdenv, kernel, perl
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
let
|
||||
baseBuildFlags = [ "INSTALL_HDR_PATH=$(out)" "headers_install" ];
|
||||
in stdenv.mkDerivation {
|
||||
name = "linux-headers-${kernel.version}";
|
||||
|
||||
inherit (kernel) src patches;
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildFlags = [ "ARCH=${stdenv.platform.kernelArch}" ] ++ baseBuildFlags;
|
||||
|
||||
crossAttrs = {
|
||||
inherit (kernel.crossDrv) src patches;
|
||||
buildFlags = [ "ARCH=${hostPlatform.platform.kernelArch}" ] ++ baseBuildFlags;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
find $out \( -name ..install.cmd -o -name .install \) -print0 | xargs -0 rm
|
||||
'';
|
||||
|
||||
# Headers shouldn't reference anything else
|
||||
allowedReferences = [];
|
||||
|
||||
meta.platforms = stdenv.lib.platforms.linux;
|
||||
}
|
Loading…
Reference in New Issue
Block a user