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
[WIP] Proof of concept: Provide default libGL aliases #34461
Conversation
I introduced a failure in the evaluator today, sorry about that. Testing for a fix: @GrahamcOfBorg eval |
Well, OK, I like the Any other ideas/opinions before creating the mass-renaming commit? |
4b7b1f7
to
246fa5f
Compare
246fa5f
to
6bd991c
Compare
Provide default aliases libGL, libGLU for using as default build time providers. This change shouldn't invalidate any hashes.
Also rename mesaSupported to libGLSupported
6bd991c
to
25a78f7
Compare
@vcunat I perform libGL/libGLU transition for most packages. Take a look please. This PR shouldn't affect most hashes |
This will just bit rot otherwise. Almost nothing gets rebuilt.
Motivation for this change
Alternative attempt to resolve libGL hell, via smooth transition to libglvnd
(this is first step, where no hashes shoudl be changes (or at least minimise rebuild as possible).
(second commit to chromium/default.nix) marked as
treewide
is just placeholder, I plan to have 3 commits replacing mesa-* with libGL* everywhere.So next step will provide function to make derivation for
/run/opengl-drivers
, something, which can be useed as:or
At some moment, we can swtich default
libGL
alias (introduced in first commit) to libglvnd, and it will be single mass-rebuild. Folks, who have runtime issues with libglvnd, can use first of examples above to use old-stylelibGL.so.
@vcunat @gnidorah Any thoughts?
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)