summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2024-09-02 10:40:10 -0400
committerseth <getchoo@tuta.io>2024-09-16 13:04:39 -0400
commit43764ae2c337f5e5f6b5485a7092734f3b1fdf2d (patch)
tree3243b6becfe1e95c9a2c1cf4866c6c669a18a6f9 /pkgs/development/python-modules/rangehttpserver
parent7bc85af0c5da0cd45a47256180af6969a21d8814 (diff)
nixos/nvidia: assert `open` option is manually set on drivers >= 560
This requirement was introduced in https://github.com/NixOS/nixpkgs/pull/337289 as a way to make sure users "explicitly pick which version of the driver they want since nvidia recommends the open one, but that is incompatible with older drivers". This is reasonable, however the user isn't informed in any real way aside from the upcoming release notes This has caused a [good](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2313802016) [amount](https://github.com/NixOS/nixpkgs/pull/337289#issuecomment-2318571311) [of](https://github.com/NixOS/nixpkgs/issues/338196) [confusion](https://github.com/NixOS/nixos-hardware/issues/1092) amongst users. By introducing this assertion and using a new `useOpenModules` local variable, we can have the same behavior but display a proper error message to hopefully clear things up until we can safely make this a default
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions