pkgs/by-name/le/level-zero/setup-hook.sh
0 → 100644
+7
−0
Loading
Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
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.