From 69644dd5da27d1be4074881df3ae48453f416ff8 Mon Sep 17 00:00:00 2001 From: Guillaume Bouchard Date: Sat, 19 May 2018 21:52:27 +0200 Subject: [PATCH] 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. --- default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/default.nix b/default.nix index 4b6fc1a..75b1ab1 100644 --- 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