[Nix-dev] Patch: Downgrade NVidia Driver
james.cook at utoronto.ca
james.cook at utoronto.ca
Mon Mar 8 02:07:34 CET 2010
Hi nixpkgs patch-appliers,
It looks like NVidia has taken down their latest UNIX drivers due
to a fan speed issue. They've reverted from 195.36.08 to 190.53, so the
current NVidia expression fails with an HTTP 404.
I've attached a patch for nixpkgs which I have tested on x86_64.
For x86 I downloaded the driver in order to update the sha256 hash, but
I did not test it.
Cheers!
James
-------------- next part --------------
Index: pkgs/os-specific/linux/nvidia-x11/default.nix
===================================================================
--- pkgs/os-specific/linux/nvidia-x11/default.nix (revision 20467)
+++ pkgs/os-specific/linux/nvidia-x11/default.nix (working copy)
@@ -2,7 +2,7 @@
let
- versionNumber = "195.36.08";
+ versionNumber = "190.53";
in
@@ -15,12 +15,12 @@
if stdenv.system == "i686-linux" then
fetchurl {
url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg0.run";
- sha256 = "0kwkms1lj7h0gaz6x3m44575mfb1zbif0xlm55xffym2n4338lds";
+ sha256 = "e9a985d485bbba11bf130a393a426f0eacd939e94705660d2b39ee8f1a25f57a";
}
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 = "14yxypv4fq4ldpin51110bs5a4062mfr7gvr1vikhsa1b2vq502f";
+ sha256 = "00451897bc0113ded59191767f3c9a7feeca6c13e4abf2e038c3f3614a20a856";
}
else throw "nvidia-x11 does not support platform ${stdenv.system}";
More information about the nix-dev
mailing list