mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:08:01 +00:00
ea7d231d86
svn path=/nixpkgs/trunk/; revision=10275
27 lines
588 B
Nix
27 lines
588 B
Nix
{stdenv, fetchurl, kernel, xlibs, gtkLibs}:
|
|
|
|
let
|
|
|
|
versionNumber = "169.09";
|
|
|
|
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 = "1m3k2jyxi3xxpm6890y0d97jisnxiyyay59ss2r9abyvpkv3by8i";
|
|
};
|
|
|
|
#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
|
|
];
|
|
}
|