git.iko.soy/typeable/nixpkgs
on master help sign in
linuxPackages.nvidia_x11: Remove us prefix from mirror

At the time of the last upgrade, the new driver wasn't available on anything but their US mirror. Pinning to the US mirror isn't recommended or preferable, but I did it anyway to be able to get the upgrade out.

commit634a098940396830f0f9cb6b38e6ac5f1e2f376e authorGraham Christensen <graham@grahamc.com> dateSun 16 Oct 2016, 11:04 (10 years ago) parent641fbb2
1 file changed+2−2
pkgs/os-specific/linux/nvidia-x11/default.nix+2−2
pkgs/os-specific/linux/nvidia-x11/default.nix+2−2
@@ -29,12 +29,12 @@ stdenv.mkDerivation {
2929 src =
3030 if stdenv.system == "i686-linux" then
3131 fetchurl {
32− url = "http://us.download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
32+ url = "http://download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}.run";
3333 sha256 = "1fw87nvbf8dmy7clwmm7jwp842c78mkz9bcb060wbihsywkfkm23";
3434 }
3535 else if stdenv.system == "x86_64-linux" then
3636 fetchurl {
37− url = "http://us.download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}.run";
37+ url = "http://download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}.run";
3838 sha256 = "0lc87bgr29l9idhy2a4bsplkwx9r0dz9kjhcc5xq2xqkkyr5sqd1";
3939 }
4040 else throw "nvidia-x11 does not support platform ${stdenv.system}";