mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
nixos/xserver: set correct LD_LIBRARY_PATH for opengl driver
This got broken by 370d3af0c4
. Previously
it was setting /run/opengl-driver/lib. `driverLink` is missing the
/lib.
This commit is contained in:
parent
a7a0d58c62
commit
2f846e69c4
@ -703,7 +703,7 @@ in
|
||||
|
||||
environment =
|
||||
optionalAttrs config.hardware.opengl.setLdLibraryPath
|
||||
{ LD_LIBRARY_PATH = pkgs.addOpenGLRunpath.driverLink; }
|
||||
{ LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.addOpenGLRunpath.driverLink ]; }
|
||||
// cfg.displayManager.job.environment;
|
||||
|
||||
preStart =
|
||||
|
Loading…
Reference in New Issue
Block a user