summary refs log tree commit diff
path: root/nixos/modules/services/x11/xserver.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2022-01-09 11:21:20 +0100
committerVladimír Čunát <v@cunat.cz>2022-01-09 11:27:18 +0100
commitd856f24d3ce42d092c69a98a256517b6ceaeb5a1 (patch)
treea0875bf62e44bb8b386d1eeba5aae249ff18c410 /nixos/modules/services/x11/xserver.nix
parent2caf90b51b365ab19736b6ecd178cf987fe54d14 (diff)
parent9e47e60971567decc140ccda13c615f963139766 (diff)
downloadnixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.tar
nixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.tar.gz
nixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.tar.bz2
nixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.tar.lz
nixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.tar.xz
nixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.tar.zst
nixpkgs-d856f24d3ce42d092c69a98a256517b6ceaeb5a1.zip
Merge #151019: amdgpu-pro: 17.40 -> 21.30
Diffstat (limited to 'nixos/modules/services/x11/xserver.nix')
-rw-r--r--nixos/modules/services/x11/xserver.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index f0cabdd4465..ec6d86d59bd 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -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 =