tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs
MIT License
756 stars 76 forks source link

Override mesa globally to make all packages use the asahi mesa #46

Closed bkchr closed 1 year ago

bkchr commented 1 year ago

This is required to make plasma wayland working. Otherwise it would reference the normal mesa libraries and they don't work with asahi gpu driver ;)

Closes: #45

tpwrules commented 1 year ago

This seems to be fixable with less overhead using system.replaceRuntimeDependencies. I am posting this from a Plasma Wayland session running on the GPU.

bkchr commented 1 year ago

Nice solution! Didn't know of this :)