Skip to content

Commit

Permalink
nvidia-x11: revert "add an assert that useSettings implies more tha…
Browse files Browse the repository at this point in the history
…n `libsOnly`"

THe change caused nixGL instantiation failures:

- nix-community/nixGL#157
- nix-community/nixGL#154

I missed the fact that there is no easy way to oberride `useSettings` as
it's an internal argument as ollosed to `useLibs`.

Instead of fixing it let's revert it back and try again later.

This reverts commit 9c51fb0.
  • Loading branch information
trofi committed Jan 25, 2024
1 parent 06570e5 commit b2ee490
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgs/os-specific/linux/nvidia-x11/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@

with lib;

assert useSettings -> !libsOnly;
assert !libsOnly -> kernel != null;
assert versionOlder version "391" -> sha256_32bit != null;
assert useSettings -> settingsSha256 != null;
Expand Down

0 comments on commit b2ee490

Please sign in to comment.