[WIP] Proof of concept: Provide default libGL aliases#34461
Merged
vcunat merged 12 commits intoNixOS:masterfrom Mar 5, 2018
Merged
[WIP] Proof of concept: Provide default libGL aliases#34461vcunat merged 12 commits intoNixOS:masterfrom
vcunat merged 12 commits intoNixOS:masterfrom
Conversation
Member
|
I introduced a failure in the evaluator today, sorry about that. Testing for a fix: @GrahamcOfBorg eval |
Member
|
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
Contributor
Author
|
@vcunat I perform libGL/libGLU transition for most packages. Take a look please. This PR shouldn't affect most hashes |
vcunat
approved these changes
Mar 5, 2018
vcunat
added a commit
that referenced
this pull request
Mar 5, 2018
This will just bit rot otherwise. Almost nothing gets rebuilt.
peti
added a commit
to NixOS/cabal2nix
that referenced
this pull request
Mar 6, 2018
5 tasks
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.
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
treewideis 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
libGLalias (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-sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)