mesa: default to Apple libGL on Darwin#290421
Conversation
|
So, update on this: whatever happened in Qt in the meantime fixed the lrelease crashes, so we should be largely unblocked here. I'm running nixpkgs-review on the community builder and will post results here, but right now I'm looking at ~100-200 projected total failures, and most of them seem unrelated to this change. |
|
Result of 903 packages marked as broken and skipped:
305 packages failed to build:
906 packages built:
|
There was a problem hiding this comment.
This won’t work with overrideSDK. The OpenGL framework needs to be added to propagatedBuildInputs, so overrideSDK can know about the framework dependency being propagated.
This isn't really related to this change, but makes nixpkgs-review runs a lot nicer.
There are probably more cases like this; it might be good to have a top‐level glut package that resolves to either GLUT or freeglut depending on platform?
Needed for Darwin.
|
OK, so I think we should be done with all the major regressions here. |
SuperSandro2000
left a comment
There was a problem hiding this comment.
Can you add a doc entry to when to use libGL/libGLU/libGLX/libglvnd/mesa? I am very confused at this point, what to tell people to use in reviews.
|
libGL, libGLU and libGLX are different libraries, so you use the ones you need. Generally you shouldn't explicitly use libglvnd or mesa unless you know exactly what you're doing. |
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
|
@ofborg eval |
|
@emilazy has a better PR in the works, so I'm closing this one. |
Description of changes
This is @reckenrode's patch from #233265 (comment) , followed by me adding Mesa explicitly in a few places that depend on specifically Mesa/GLX. This should reduce the amount of Mesa dependencies on Darwin from ~800 to ~100 even if we re-add it to all the other packages.
Now someone just needs to go through all the regressions and triage them.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.