nvidia module: link proper output as OpenGL drivers

This commit is contained in:
Nikolay Amiantov 2017-05-31 15:59:28 +03:00
parent e25ab373db
commit d09e3535f5

View File

@ -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 ];