-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin
Description
Currently the situation of the mesa package on darwin is not optimal. This is because we are lugging around Mesa 22.3 just for darwin. We would like to remove Mesa 22.3 and find another solution in time for the NixOS 23.11 release cycle.
Several options were discussed in the Nixpkgs Dev matrix room:
- Get current mesa (23.1) to build for darwin; currently blocked by upstream issue ; upstream contributions are most likely welcome
- Gate all places that depend on mesa with
!isDarwinoravailableOnif they can build without it
Some common dependency chains seem to begtk3-x11 -> libepoxy -> libglandgraphviz -> libdevil -> libgl.
Anything that uses mesa on darwin is being rendered purely using the CPU using llvmpipe anyways, since mesa does not have any driver backends that work on darwin.
Probably a combination of both reducing unreasonable dependencies on mesa, and making the latest version build, would be good
CC @NixOS/darwin-maintainers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin