mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
* Latest nvidia driver.
svn path=/nixpkgs/trunk/; revision=11949
This commit is contained in:
parent
b98a144355
commit
0d0b6afd53
@ -8,11 +8,6 @@ unpackFile() {
|
||||
}
|
||||
|
||||
|
||||
patchPhase() {
|
||||
(cd usr/src/nv && patch -p3 < $patch)
|
||||
}
|
||||
|
||||
|
||||
buildPhase=myBuildPhase
|
||||
myBuildPhase() {
|
||||
echo "Building linux driver against kernel: " $kernel;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
let
|
||||
|
||||
versionNumber = "169.12";
|
||||
versionNumber = "173.14.05";
|
||||
|
||||
in
|
||||
|
||||
@ -12,14 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg1.run";
|
||||
sha256 = "0bxxjp30bysqaviqjq05vmrhp17w3qn94iwwwj074qmi710zffyy";
|
||||
};
|
||||
|
||||
# Fix for compiling on Linux >= 2.6.24.
|
||||
patch = fetchurl {
|
||||
url = "http://www.nvnews.net/vbulletin/attachment.php?s=41498f047cfc027419df58a2559e9a7f&attachmentid=30771&d=1205875946";
|
||||
sha256 = "17bb9yzkys1fsvf0mri3kpj1zvvqwvdcaszcl8ax9jfkxbd47m9n";
|
||||
name = "nvidia-2.5.24.patch";
|
||||
sha256 = "14r3zddrppd0zxq76dd08dlj4qqncr7fj9cnrny4f0b5d0qgrd3f";
|
||||
};
|
||||
|
||||
#xenPatch = ./nvidia-2.6.24-xen.patch;
|
||||
|
Loading…
Reference in New Issue
Block a user