From de783277da66e38ae62794cff90d758b272fcf6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 15 Jun 2014 19:15:48 +0200 Subject: [PATCH] nixos/opengl: add LD_LIBRARY_PATH to systemVariables instead so all users get this variable, thanks to work from #2692. --- nixos/modules/hardware/opengl.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index 096f7e2c0970..7778c3f5409f 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -16,7 +16,7 @@ let [ p.mesa_drivers p.mesa_noglu # mainly for libGL (if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc) - p.udev + p.udev ]; }; @@ -101,7 +101,7 @@ in ''} ''; - environment.variables.LD_LIBRARY_PATH = + environment.systemVariables.LD_LIBRARY_PATH = [ "/run/opengl-driver/lib" "/run/opengl-driver-32/lib" ]; # FIXME: move this into card-specific modules.