nvidia-x11: remove unused binding to kernelModVersion

This commit is contained in:
Nick Cao 2023-01-06 10:26:41 +08:00
parent 3432af9db8
commit e29dd5e157
No known key found for this signature in database

View File

@ -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;