commit 69644dd5da27d1be4074881df3ae48453f416ff8
parent d78549fef3f94624b3f431d761bc680e410ee927
Author: Guillaume Bouchard <guillaum.bouchard@gmail.com>
Date: Sat, 19 May 2018 21:52:27 +0200
Fix for bug #10
Recently, most packages which were previously depending on `mesa`
switched to `libGL`, which is supposed to find the host system opengl
library, as long as it is available in the library search path.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/default.nix b/default.nix
@@ -74,6 +74,7 @@ rec {
cat > $out/bin/nixGLIntel << FOO
#!/usr/bin/env sh
export LIBGL_DRIVERS_PATH=${mesa_drivers}/lib/dri
+ export LD_LIBRARY_PATH=${mesa_drivers}/lib
"\$@"
FOO