@@ -12,7 +12,7 @@ assert (!libsOnly) -> kernel != null;
1212
1313let
1414
15− versionNumber = "340.76";
15+ versionNumber = "340.96";
1616 /* This branch is needed for G8x, G9x, and GT2xx GPUs, and motherboard chipsets based on them.
1717 Ongoing support for new Linux kernels and X servers, as well as fixes for critical bugs,
1818 will be included in 340.* legacy releases through the end of 2019.
@@ -25,18 +25,16 @@ stdenv.mkDerivation {
2525
2626 builder = ./builder-legacy340.sh;
2727
28− patches = [ ./nvidia-340.76-kernel-4.0.patch ];
29−
3028 src =
3129 if stdenv.system == "i686-linux" then
3230 fetchurl {
33− url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
34− sha256 = "1l1nn340hc8iwlzb16gcm2xvnvkw7rf84ll89bcax70094xxjacv";
31+ url = "http://download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
32+ sha256 = "13j739gg1igll88xpfsx46m7pan4fwpzx5hqdskkdc0srmw2f3n4";
3533 }
3634 else if stdenv.system == "x86_64-linux" then
3735 fetchurl {
38− url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run";
39− sha256 = "016hnsgrcm4ly0mnkcd6c1qkciy3qmbwdwy4rlwq3m6dh4ixw7jc";
36+ url = "http://download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-no-compat32.run";
37+ sha256 = "1i0lri76ghhr4c6fdlv5gwzd99n70hv3kw21w51anb55msr9s3r8";
4038 }
4139 else throw "nvidia-x11 does not support platform ${stdenv.system}";
4240
@@ -62,5 +60,6 @@ stdenv.mkDerivation {
6260 license = licenses.unfreeRedistributable;
6361 platforms = platforms.linux;
6462 maintainers = [ maintainers.vcunat ];
63+ priority = 4; # resolves collision with xorg-server's "lib/xorg/modules/extensions/libglx.so"
6564 };
6665}