Skip to content

Tracking issue: mesa on darwin #233265

@yu-re-ka

Description

@yu-re-ka

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 !isDarwin or availableOn if they can build without it
    Some common dependency chains seem to be gtk3-x11 -> libepoxy -> libgl and graphviz -> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: darwinRunning or building packages on Darwin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions