nixpkgs/pkgs/os-specific/linux/kernel/linux-testing.nix
Austin Seipp cab3652660
linux_testing: 5.4-rc2 -> 5.4-rc3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-10-14 10:33:03 -05:00

21 lines
654 B
Nix

{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
with stdenv.lib;
buildLinux (args // rec {
version = "5.4-rc3";
extraMeta.branch = "5.4";
# modDirVersion needs to be x.y.z, will always add .0
modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg;
src = fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
sha256 = "1hp9b71ip8a9mlgnwhr8x7mhy5qkgz57hd5xqskfx3axbsh2j3f5";
};
# Should the testing kernels ever be built on Hydra?
extraMeta.hydraPlatforms = [];
} // (args.argsOverride or {}))