summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware/video
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-05-31 15:59:28 +0300
committerNikolay Amiantov <ab@fmap.me>2017-05-31 16:30:21 +0300
commitd09e3535f5263add321ef0607be8a75d76b2376c (patch)
treed062f58b7c60fcfc8512ac6ba77a0208f1b3928d /nixos/modules/hardware/video
parente25ab373db8382f33ae2095c47acd1402a4e4be5 (diff)
nvidia module: link proper output as OpenGL drivers
Diffstat (limited to 'nixos/modules/hardware/video')
-rw-r--r--nixos/modules/hardware/video/nvidia.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index f2d71aa34e41..80abec95c03d 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -28,7 +28,7 @@ let
nvidia_libs32 = (nvidiaForKernel pkgs_i686.linuxPackages).override { libsOnly = true; kernel = null; };
nvidiaPackage = nvidia: pkgs:
- if !nvidia.useGLVND then nvidia
+ if !nvidia.useGLVND then nvidia.out
else pkgs.buildEnv {
name = "nvidia-libs";
paths = [ pkgs.libglvnd nvidia.out ];