Conversation
|
|
||
| ./opencl.patch | ||
| ./disk_cache-include-dri-driver-path-in-cache-key.patch | ||
| ] ++ lib.optionals stdenv.isDarwin [ |
There was a problem hiding this comment.
Note that these patches are not in the mesa main branch yet. I am hopeful, but ultimately we might have to disable darwin again if the patches stop applying and haven't been rebased/upstreamed and nobody puts in the effort to do that.
There was a problem hiding this comment.
Right, this is understood. They still apply 6 months after, so I'm optimistic. I did ping the upstream issue, to help nudge things forward.
yu-re-ka
left a comment
There was a problem hiding this comment.
Thank you for looking at this. I don't have a darwin to test (ironically, since I am typing this on a Mac, just not with darwin 😅).
Fixes a configuration issue:
meson.build:33:8: ERROR: requires argument not a string, library with pkgconfig-generated file or pkgconfig-dependency object, got <ExtraFrameworkDependency opengl: True>
reckenrode
left a comment
There was a problem hiding this comment.
LGTM
I’m less concerned about these patches breaking in the future because Mesa shouldn’t generally be used on Darwin anyway. If MoltenVK ever gets featureful enough to support Zink, things might be different, but that’s several years away at least.
|
Successfully created backport PR for |
|
There's actually already an upstream patch on mesa's |
|
That patch does not apply to the release and looks functionally different. However, taking the commit after the next works: #272732. Thanks for your pointer. |
Description of changes
Unbreaks mesa on macOS, cc #233265
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.