Skip to content

enh: add a list of known nvidia drivers as an attr in nixGL #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
10 changes: 10 additions & 0 deletions known_drivers/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Nvidia drivers

A single nix expression listing known nvidia driver versions and their corresponding hashes.
To be used as input to flakes that use nixGL

The list of version/hash pairs can be regenerated by the `mk-nvidia-drivers.py` script,
which fetches the list of drivers at https://download.nvidia.com/XFree86/Linux-x86_64/
for each version, attempts to locate a runfile using the same url template as used to
generate the nixGLNvidia wrappers, then run nix-prefetch-url to get the hash, then
cleans the downloaded runfile out the store.
Loading