tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
linuxHeaders: Remove cruft
Tuomas Tynkkynen
8 years ago
55a642f5
fe078d79
+1
-11
1 changed file
expand all
collapse all
unified
split
pkgs
top-level
all-packages.nix
+1
-11
pkgs/top-level/all-packages.nix
···
12007
linuxHeaders_4_4 = callPackage ../os-specific/linux/kernel-headers/4.4.nix {
12008
cross = if targetPlatform != hostPlatform then targetPlatform else null;
12009
};
12010
-
12011
-
# We can choose:
12012
-
linuxHeaders =
12013
-
if targetPlatform != hostPlatform
12014
-
then
12015
-
{ # switch
12016
-
"4.4" = linuxHeaders_4_4;
12017
-
}.${targetPlatform.platform.kernelMajor}
12018
-
or (throw "Unknown linux kernel version")
12019
-
else
12020
-
linuxHeaders_4_4;
12021
12022
kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { };
12023
···
12007
linuxHeaders_4_4 = callPackage ../os-specific/linux/kernel-headers/4.4.nix {
12008
cross = if targetPlatform != hostPlatform then targetPlatform else null;
12009
};
12010
+
linuxHeaders = linuxHeaders_4_4;
0
0
0
0
0
0
0
0
0
0
12011
12012
kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { };
12013