diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-08-12 19:10:14 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-08-17 16:46:08 +0200 |
commit | 9da079c6ff5e2870485ed014fe388a5c67997535 (patch) | |
tree | 008cfde8cf2f21b8038158eef1f159a5f1d3d184 /pkgs/os-specific | |
parent | 0ac85bc455148e4a4b359fb230e3e3cca3b35b72 (diff) | |
download | nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.tar nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.tar.gz nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.tar.bz2 nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.tar.lz nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.tar.xz nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.tar.zst nixpkgs-9da079c6ff5e2870485ed014fe388a5c67997535.zip |
Re-Revert "linux: Init 5.8"
This reverts commit fee8c0ae0739f847241fc1de2b619b4057e818a1. The required systemd update was done in 9f911ab1b5; test works for me: nix build -f nixos/release.nix tests.latestKernel.login.x86_64-linux
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-5.8.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-5.8.nix b/pkgs/os-specific/linux/kernel/linux-5.8.nix new file mode 100644 index 00000000000..a7b929740d2 --- /dev/null +++ b/pkgs/os-specific/linux/kernel/linux-5.8.nix @@ -0,0 +1,18 @@ +{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args: + +with stdenv.lib; + +buildLinux (args // rec { + version = "5.8"; + + # modDirVersion needs to be x.y.z, will automatically add .0 if needed + modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; + + # branchVersion needs to be x.y + extraMeta.branch = versions.majorMinor version; + + src = fetchurl { + url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; + sha256 = "1xgibkwb1yfl6qdlbxyagai0qc1pk5ark7giz1512hh6ma353xz7"; + }; +} // (args.argsOverride or {})) |