Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixGLIntel: Add libGL to LD_LIBRARY_PATH
We have an Rust application using `imgui` with `glfw` where `nixGLIntel` doesn't work: the application throws some issue about not being able to create a window. However, on this same machine, `nixGLIntel <glxgears from nixpkgs>` worked. After trying to use `apitrace` and then `strace`, I noticed that it's trying to open `libGL.so` and then `libGL.so.1` when that eventually fails. This however does not exist in the nixpkgs mesa package: NixOS/nixpkgs#40001. There seems to have been some fixes regarding to the mesa change back in nix-community#10 but presumably it didn't address this particular problem. I am not sure if this is the correct fix for the issue: let me know if something else is supposed to be done, I'm not too privy as to how all this graphics stuff works. It seems to work for my use-case however. I guess `nixVulkanIntel` doesn't need such treatment as it's only about OpenGL?
- Loading branch information