diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-05-31 15:59:28 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-05-31 16:30:21 +0300 |
commit | d09e3535f5263add321ef0607be8a75d76b2376c (patch) | |
tree | d062f58b7c60fcfc8512ac6ba77a0208f1b3928d /nixos/modules/hardware/video | |
parent | e25ab373db8382f33ae2095c47acd1402a4e4be5 (diff) |
nvidia module: link proper output as OpenGL drivers
Diffstat (limited to 'nixos/modules/hardware/video')
-rw-r--r-- | nixos/modules/hardware/video/nvidia.nix | 2 |
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 ]; |