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

Revert removal of `linux_testing_bcachefs` from "linux: remove versions unmaintained upstream"

This reverts parts of commit 298e170b36b79f4c6b19816a7abbf8392a490840.

+37
+22
pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix
··· 1 + { stdenv, buildPackages, hostPlatform, fetchgit, perl, buildLinux, ... } @ args: 2 + 3 + buildLinux (args // rec { 4 + version = "4.15.2018.02.09"; 5 + modDirVersion = "4.15.0"; 6 + extraMeta.branch = "master"; 7 + extraMeta.maintainers = [ stdenv.lib.maintainers.davidak ]; 8 + 9 + src = fetchgit { 10 + url = "https://evilpiepirate.org/git/bcachefs.git"; 11 + rev = "4506cd5ead31209a6a646c2412cbc7be735ebda4"; 12 + sha256 = "0fcyf3y27k2lga5na4dhdyc47br840gkqynv8gix297pqxgidrib"; 13 + }; 14 + 15 + extraConfig = '' 16 + BCACHEFS_FS m 17 + ''; 18 + 19 + # Should the testing kernels ever be built on Hydra? 20 + extraMeta.hydraPlatforms = []; 21 + 22 + } // (args.argsOverride or {}))
+15
pkgs/top-level/all-packages.nix
··· 13327 13327 ]; 13328 13328 }; 13329 13329 13330 + linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix { 13331 + kernelPatches = 13332 + [ kernelPatches.bridge_stp_helper 13333 + kernelPatches.modinst_arg_list_too_long 13334 + ] 13335 + ++ lib.optionals ((platform.kernelArch or null) == "mips") 13336 + [ kernelPatches.mips_fpureg_emu 13337 + kernelPatches.mips_fpu_sigill 13338 + kernelPatches.mips_ext3_n32 13339 + ]; 13340 + }; 13341 + 13330 13342 linux_riscv = callPackage ../os-specific/linux/kernel/linux-riscv.nix { 13331 13343 kernelPatches = [ 13332 13344 kernelPatches.bridge_stp_helper ··· 13529 13541 }; 13530 13542 }; 13531 13543 in tinyLinuxPackages.kernel; 13544 + 13545 + # Build a kernel with bcachefs module 13546 + linuxPackages_testing_bcachefs = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing_bcachefs); 13532 13547 13533 13548 # Build a kernel for Xen dom0 13534 13549 linuxPackages_xen_dom0 = recurseIntoAttrs (linuxPackagesFor (pkgs.linux.override { features.xen_dom0=true; }));