diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2023-06-29 21:36:13 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2023-06-29 21:36:13 +0200 |
| commit | b695fe07a8a178ae3c73e3d2905a91ca509eb9ac (patch) | |
| tree | e3870e4e7be916767c39ed1b4acf45f1ea5f2780 | |
| parent | linux_6_3_hardened: expose package (diff) | |
| download | nixpkgs-b695fe07a8a178ae3c73e3d2905a91ca509eb9ac.tar.gz | |
linux_6_3: fix hardened
| -rw-r--r-- | pkgs/os-specific/linux/kernel/linux-6.3.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-6.3.nix b/pkgs/os-specific/linux/kernel/linux-6.3.nix index 9a5d1ad8e5c4..7fffbca6d2f0 100644 --- a/pkgs/os-specific/linux/kernel/linux-6.3.nix +++ b/pkgs/os-specific/linux/kernel/linux-6.3.nix @@ -1,4 +1,4 @@ -{ lib, fetchurl, buildLinux, ... } @ args: +{ lib, fetchurl, buildLinux, modDirVersionArg ? null, ... } @ args: with lib; @@ -6,7 +6,7 @@ buildLinux (args // rec { version = "6.3.10"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed - modDirVersion = versions.pad 3 version; + modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; # branchVersion needs to be x.y extraMeta.branch = versions.majorMinor version; |
