Updating the nvidia drivers to the latest version.
I added 'perl' as their buildInputs to get them built. I don't know if it is something new from nvidia, but I imagine it may be introduced in 2.6.31, for any module building. svn path=/nixpkgs/trunk/; revision=19029
This commit is contained in:
parent
f7c171f73f
commit
3e1a06bae1
@ -1,8 +1,8 @@
|
||||
{stdenv, fetchurl, kernel, xlibs, gtkLibs, zlib}:
|
||||
{stdenv, fetchurl, kernel, xlibs, gtkLibs, zlib, perl}:
|
||||
|
||||
let
|
||||
|
||||
versionNumber = "190.42";
|
||||
versionNumber = "190.53";
|
||||
|
||||
in
|
||||
|
||||
@ -15,12 +15,12 @@ stdenv.mkDerivation {
|
||||
if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg0.run";
|
||||
sha256 = "0wcj3fwqgh5484h9slhhpkz5qsxfx9kwk1nv3fmw58agmkdbalg8";
|
||||
sha256 = "0ypm4ld8zvir5c6nc1a7x4wxkb0fdx13lf8a2fzi3fmvhpa8bag9";
|
||||
}
|
||||
else if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-pkg0.run";
|
||||
sha256 = "0x93cjfhz6izb730c4iwrvdnqi2dlzbkw6r6hrbdcad15cwsjr45";
|
||||
sha256 = "0mm841563wy373hg5az42dncmvkzk8y7yxlij7axw4q1pjbihi80";
|
||||
}
|
||||
else throw "nvidia-x11 does not support platform ${stdenv.system}";
|
||||
|
||||
@ -37,6 +37,8 @@ stdenv.mkDerivation {
|
||||
xlibs.libXv
|
||||
];
|
||||
|
||||
buildInputs = [ perl ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nvidia.com/object/unix.html;
|
||||
description = "X.org driver and kernel module for NVIDIA graphics cards";
|
||||
|
@ -5503,7 +5503,7 @@ let
|
||||
};
|
||||
|
||||
nvidia_x11 = import ../os-specific/linux/nvidia-x11 {
|
||||
inherit stdenv fetchurl kernel xlibs gtkLibs zlib;
|
||||
inherit stdenv fetchurl kernel xlibs gtkLibs zlib perl;
|
||||
};
|
||||
|
||||
nvidia_x11_legacy = import ../os-specific/linux/nvidia-x11/legacy.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user