mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 21:29:18 +00:00
nixos/opengl: add LD_LIBRARY_PATH to systemVariables instead
so all users get this variable, thanks to work from #2692.
This commit is contained in:
parent
43a77448f8
commit
de783277da
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user