Update nixGL for latest nixpkgs: nvidia kernel modules and package deprecations#223
Open
TheTeXnician wants to merge 3 commits into
Open
Update nixGL for latest nixpkgs: nvidia kernel modules and package deprecations#223TheTeXnician wants to merge 3 commits into
TheTeXnician wants to merge 3 commits into
Conversation
In NixOS/nixpkgs#498612, the nvidia modules have been adjusted. The kernel = null override now throws an error.
djeis97
pushed a commit
to djeis97/nixGL
that referenced
this pull request
May 15, 2026
Replace deprecated xorg package set references with direct libx11/libxcb/libxshmfence packages, remove kernel = null override that errors on recent nixpkgs, and bump nixpkgs to f6030e80.
|
thanks, this worked for me |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In recent (unstable) nixpkgs, there have been changes to the nvidia kernel modules. So when you
inputs.nixpkgs.followsnixGL's nixpkgs with unstable nixpkgs, you currently getxorgpackage setkernel = nulloverride after nixos/nvidia, linuxPackages.nvidia-x11: split proprietary kernel modules, use source-built ICDs, write params via modprobe NixOS/nixpkgs#498612This PR fixes the evaluation warnings and the override error. Tested locally but I'm not quite sure if I have caught on to all necessary changes for current nixpkgs.
PR pipeline seems to fail due to using an older revision of nixpkgs than pinned in the flake.