Profpatsch <[email protected]> writes:

> So, the correct way is to patch the derivation that generates
> /run/opengl-driver/share/vulkan/icd.d/intel_icd.x86_64.json
> so that the link in that json points to
> /nix/store/d0n7lg9xg16wlgs6msgfjwl1fdgsj3af-opengl-drivers/lib/libvulkan_intel.so
>
> Depends on how the json is generated, preferrably adding the
> path to a configure variable, alternatively using sed or similar.

I was thinking about that, but I wanted to make sure I'm going in the
right direction (my Vulkan and Mesa knowledge is very limited).

Actually, it looks like it would be enough to make the package
generating intel_icd.x86_64.json refer to $out/lib/libvulkan_intel.so.

/run/opengl-driver/share points to
/nix/store/aqdbc42g8r6l3bm47c8pa2azim8icqbq-mesa-drivers+txc-13.0.1/share/
and ../lib/ contains libvulkan_intel.so.

I wonder how it gets the wrong path in the first place.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to