Why Nostr? What is Njump?
2024-07-16 12:19:44
in reply to

Hector Martin on Nostr: Apparently the way it works is that the order is ignored, extensions are sorted in ...

Apparently the way it works is that the order is ignored, extensions are sorted in alphabetical order (!), and unmanaged extensions are loaded first.

I had tested `host` installed managed, and that didn't work because d < h. `host` installed as unmanaged does work.

But since it does merge all extensions together, not just the first one found, it means we get file soup with all the pluggable driver config files, and things like one Mesa for OpenCL and another for OpenGL.

In other words, this is poorly thought out enough that I expect fireworks in weird corner cases, and presumably we're the first to try shipping a host mesa like this for real (AIUI until now people only really used this for explicit overrides to a single driver aka mesa-git, and for the nvidia stuff which is its own thing anyway and not mesa so doesn't really conflict with anything).

But yeah, the best we can do is just call ourselves `host` and, if we run into conflicts with stuff that `default` dumps in, start putting in overrides or making sure we build enough things to overlay everything from it. Sigh.
Author Public Key
npub1qk9x6yrvten3jqyvundn7exggm90fxf9yfarj5eaz25yd7aty8hqe9azpx