Commit Graph

1 Commits

Author SHA1 Message Date
Izel Nakri
abf2fec826 level-zero: add setup-hook for Intel OpenGL driver lookups
The Level Zero package requires /run/opengl-driver/lib and
/run/opengl-driver-32/lib
to be in LD_LIBRARY_PATH for the Intel GPU driver to function correctly.

This change adds a setup-hook that prepends these paths if they exist,
ensuring runtime linker can find the necessary driver libraries in
NixOS and other Linux systems without manual environment modifications.
2025-10-22 23:19:14 +02:00