mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/nvidia: fix potential null value in versionOlder check
This commit is contained in:
parent
139855af78
commit
c15eea348d
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ in
|
|||
driver causes it to provide its own framebuffer device, which can cause
|
||||
Wayland compositors to work when they otherwise wouldn't.
|
||||
'' // {
|
||||
default = lib.versionAtLeast nvidia_x11.version "535";
|
||||
defaultText = lib.literalExpression "lib.versionAtLeast nvidia_x11.version \"535\"";
|
||||
default = lib.versionAtLeast cfg.package.version "535";
|
||||
defaultText = lib.literalExpression "lib.versionAtLeast cfg.package.version \"535\"";
|
||||
};
|
||||
|
||||
prime.nvidiaBusId = lib.mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue