diff options
author | Nick Cao <nickcao@nichi.co> | 2023-01-06 10:26:41 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2023-01-06 10:26:41 +0800 |
commit | e29dd5e157e5d0f57fb38a955a3d21c54a6aa89f (patch) | |
tree | 7489b7b8d3f17b3f17c290b0be2bc1b914297450 /pkgs/os-specific | |
parent | 3432af9db820ba2eacc26cb2b8cc2e831619e37b (diff) |
nvidia-x11: remove unused binding to kernelModVersion
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/nvidia-x11/default.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index 769ea7e369d9d..6927052815693 100644 --- a/pkgs/os-specific/linux/nvidia-x11/default.nix +++ b/pkgs/os-specific/linux/nvidia-x11/default.nix @@ -13,8 +13,6 @@ let kernel = callPackage # a hacky way of extracting parameters from callPackage ({ kernel, libsOnly ? false }: if libsOnly then { } else kernel) { }; - kernelModVersion = lib.versions.majorMinor kernel.modDirVersion; - selectHighestVersion = a: b: if lib.versionOlder a.version b.version then b else a; |