linuxHeaders: Remove cruft

+1 -11
+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; 12011 12012 kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { }; 12013