From e29dd5e157e5d0f57fb38a955a3d21c54a6aa89f Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 6 Jan 2023 10:26:41 +0800 Subject: [PATCH] nvidia-x11: remove unused binding to kernelModVersion --- pkgs/os-specific/linux/nvidia-x11/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index 769ea7e369d9..692705281569 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;