From c2bc765dc63c3e9803c51c1643ad8f5436dbc38f Mon Sep 17 00:00:00 2001 From: timor Date: Sat, 21 Nov 2020 17:48:07 +0100 Subject: [PATCH] shell.nix: use correct opengl dependencies, fix runtime lib path --- shell.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index fa19e72dcc..6f729fd156 100644 --- a/shell.nix +++ b/shell.nix @@ -9,7 +9,8 @@ let gdk_pixbuf gnome2.gtkglext pcre - mesa_glu + libGL + libGLU freealut openssl udis86 # available since NixOS 19.09 @@ -18,11 +19,11 @@ let libvorbis zlib ]; - runtimeLibPath = lib.makeLibraryPath runtimeLibs; + runtimeLibPath = "/run/opengl-driver/lib:" + lib.makeLibraryPath runtimeLibs; in (mkClangShell { name = "factor-shell-env"; - LD_LIBRARY_PATH = "/run/opengl-driver/lib:${runtimeLibPath}" ; + LD_LIBRARY_PATH = runtimeLibPath ; buildInputs = runtimeLibs ++ [ # for building factor git -- 2.34.1