Fix Error: Kernel module version format change (closes #186)#187
Fix Error: Kernel module version format change (closes #186)#187phirsch wants to merge 2 commits intonix-community:mainfrom
Conversation
…closes nix-community#186). Adapts the version matching logic to accommodate version strings in newer open source NVIDIA kernel driver modules as described in nix-community#186.
|
The failing check seems to be unrelated to the change (rather something to do with cachix). |
|
I have tried this locally on my machine and it fixes the build problem for me. Here's some info: |
|
It works on my machine also with proprietary driver and open. |
|
Works on my machine as well. $ nix profile list
Name: home-manager-path
Store paths: /nix/store/fkiffi0374d5xcfvxq6dx3fmrkj7mr0j-home-manager-path
Name: nixGLDefault
Flake attribute: packages.x86_64-linux.nixGLDefault
Original flake URL: github:nix-community/nixGL/pull/187/head
Locked flake URL: github:nix-community/nixGL/ea8baea3b9d854bf9cf5c834a805c50948dd2603?narHash=sha256-JlT4VFs8aVlW%2Bl151HZIZumfFsccZXcO/k5WpbYF09Y%3D
Store paths: /nix/store/8irw6mczqsa7jqpwcsi3x0lw56nmf3c6-nixGL
Name: nixGLNvidia
Flake attribute: packages.x86_64-linux.nixGLNvidia
Original flake URL: github:nix-community/nixGL/pull/187/head
Locked flake URL: github:nix-community/nixGL/ea8baea3b9d854bf9cf5c834a805c50948dd2603?narHash=sha256-JlT4VFs8aVlW%2Bl151HZIZumfFsccZXcO/k5WpbYF09Y%3D
Store paths: /nix/store/55i3l9a7p6z782sm8fy1d84hwazr4g1q-nixGLNvidia-570.144
Name: nixVulkanNvidia
Flake attribute: packages.x86_64-linux.nixVulkanNvidia
Original flake URL: github:nix-community/nixGL/pull/187/head
Locked flake URL: github:nix-community/nixGL/ea8baea3b9d854bf9cf5c834a805c50948dd2603?narHash=sha256-JlT4VFs8aVlW%2Bl151HZIZumfFsccZXcO/k5WpbYF09Y%3D
Store paths: /nix/store/vv3c3p719zai5f77cr7cb6wcsm38wik8-nixVulkanNvidia-570.144Confirmed with running a ghostty terminal wrapper with nixGLDefault. |
|
In case someone is unable to figure this out: |
|
@phirsch could you rebase this on top of the latest master and try to get the pipelines to pass so we can try to push for this to be merged? |
Similar error as described in nix-community/nixGL#199 Adding nix-community/nixGL#187 as flake input fixes it. Other changes: - Fix `unfree` support for `NVIDIA` drivers - Create dedicated `nixgl.nix` module for centralized configuration - Update README to reflect new nixGL setup approach and to remove manual nix-channel installation instructions - Clean up unfree packages and remove hardcoded nvidia version alias - Update dependencies: nixpkgs, home-manager, rust-overlay - Add ttyd package required by vhs All done with help of `Caude Code`.
|
This branch also fixes the installation on Ubuntu 24.04 with the proprietary driver on my side. |
Adapts the version matching logic to accommodate version strings in newer open source NVIDIA kernel driver modules as described in #186.