nixpkgs/pkgs/os-specific/linux/nvidia/default.nix
Eelco Dolstra fc345ae130 * NVIDIA driver: updated to 169.07. Cleaned up and purified: it
doesn't need symlinks in /usr anymore.  nvidia-settings works
  properly now.

svn path=/nixpkgs/trunk/; revision=10094
2008-01-07 22:54:30 +00:00

27 lines
588 B
Nix

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