Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

kernel: fix build of 3.10 and 3.12 on i686

+87 -2
+10
pkgs/os-specific/linux/kernel/patches.nix
··· 35 35 36 36 rec { 37 37 38 + link_lguest = 39 + { name = "gcc5-link-lguest"; 40 + patch = ./gcc5-link-lguest.patch; 41 + }; 42 + 43 + link_apm = 44 + { name = "gcc5-link-apm"; 45 + patch = ./gcc5-link-apm.patch; 46 + }; 47 + 38 48 bridge_stp_helper = 39 49 { name = "bridge-stp-helper"; 40 50 patch = ./bridge-stp-helper.patch;
+2 -2
pkgs/top-level/all-packages.nix
··· 10295 10295 }; 10296 10296 10297 10297 linux_3_10 = callPackage ../os-specific/linux/kernel/linux-3.10.nix { 10298 - kernelPatches = [ kernelPatches.bridge_stp_helper ] 10298 + kernelPatches = with kernelPatches; [ bridge_stp_helper link_lguest link_apm ] 10299 10299 ++ lib.optionals ((platform.kernelArch or null) == "mips") 10300 10300 [ kernelPatches.mips_fpureg_emu 10301 10301 kernelPatches.mips_fpu_sigill ··· 10304 10304 }; 10305 10305 10306 10306 linux_3_12 = callPackage ../os-specific/linux/kernel/linux-3.12.nix { 10307 - kernelPatches = [ kernelPatches.bridge_stp_helper kernelPatches.crc_regression ] 10307 + kernelPatches = with kernelPatches; [ bridge_stp_helper crc_regression link_lguest ] 10308 10308 ++ lib.optionals ((platform.kernelArch or null) == "mips") 10309 10309 [ kernelPatches.mips_fpureg_emu 10310 10310 kernelPatches.mips_fpu_sigill