diff options
author | Tim Steinbach <tim@nequissimus.com> | 2019-04-07 08:34:12 -0400 |
---|---|---|
committer | Tim Steinbach <tim@nequissimus.com> | 2019-04-07 08:34:12 -0400 |
commit | 922c07d2d2a857a5cf1685a2178dd3fd122f8b46 (patch) | |
tree | 2b89e5f57f159f150cd2eac153a3cb05aa0a6753 /pkgs/os-specific/linux/kernel/linux-4.19.nix | |
parent | ba24e89d44302718f22375a1be2485590359669d (diff) | |
download | nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.tar nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.tar.gz nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.tar.bz2 nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.tar.lz nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.tar.xz nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.tar.zst nixpkgs-922c07d2d2a857a5cf1685a2178dd3fd122f8b46.zip |
linux: Fix update script
The script was wrecking `modDirVersion`, putting them back and ensuring it will not break again.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/linux-4.19.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-4.19.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-4.19.nix b/pkgs/os-specific/linux/kernel/linux-4.19.nix index 9f8ebab4e91..85a8ff54df4 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.19.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.19.nix @@ -6,6 +6,7 @@ buildLinux (args // rec { version = "4.19.34"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed + modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; # branchVersion needs to be x.y extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version))); |