3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/nvidia/default.nix
Eelco Dolstra 0d0b6afd53 * Latest nvidia driver.
svn path=/nixpkgs/trunk/; revision=11949
2008-06-02 13:40:04 +00:00

29 lines
630 B
Nix

{stdenv, fetchurl, kernel, xlibs, gtkLibs}:
let
versionNumber = "173.14.05";
in
stdenv.mkDerivation {
name = "nvidiaDrivers-${versionNumber}-${kernel.version}";
builder = ./builder.sh;
src = fetchurl {
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg1.run";
sha256 = "14r3zddrppd0zxq76dd08dlj4qqncr7fj9cnrny4f0b5d0qgrd3f";
};
#xenPatch = ./nvidia-2.6.24-xen.patch;
inherit versionNumber kernel;
dontStrip = true;
libPath = [
gtkLibs.gtk gtkLibs.atk gtkLibs.pango gtkLibs.glib
xlibs.libXext xlibs.libX11 xlibs.libXv
];
}