Merge pull request #25333 from zraexy/zraexy-nvidia-x11

nvidia-x11: switch download urls to https
This commit is contained in:
Michael Raskin 2017-04-30 12:23:54 +02:00 committed by GitHub
commit b5c3586289
4 changed files with 6 additions and 6 deletions

View File

@ -32,12 +32,12 @@ let
src =
if stdenv.system == "i686-linux" then
fetchurl {
url = "http://download.nvidia.com/XFree86/Linux-x86/${version}/NVIDIA-Linux-x86-${version}${pkgSuffix}.run";
url = "https://download.nvidia.com/XFree86/Linux-x86/${version}/NVIDIA-Linux-x86-${version}${pkgSuffix}.run";
sha256 = sha256_32bit;
}
else if stdenv.system == "x86_64-linux" then
fetchurl {
url = "http://download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}${pkgSuffix}.run";
url = "https://download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}${pkgSuffix}.run";
sha256 = sha256_64bit;
}
else throw "nvidia-x11 does not support platform ${stdenv.system}";

View File

@ -14,12 +14,12 @@ stdenv.mkDerivation {
src =
if stdenv.system == "i686-linux" then
fetchurl {
url = "http://download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg0.run";
url = "https://download.nvidia.com/XFree86/Linux-x86/${versionNumber}/NVIDIA-Linux-x86-${versionNumber}-pkg0.run";
sha256 = "08xb7s7cxmj4zv4i3645kjhlhhwxiq6km9ixmsw3vv91f7rkb6d0";
}
else if stdenv.system == "x86_64-linux" then
fetchurl {
url = "http://download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-pkg0.run";
url = "https://download.nvidia.com/XFree86/Linux-x86_64/${versionNumber}/NVIDIA-Linux-x86_64-${versionNumber}-pkg0.run";
sha256 = "1p2ls0xj81l8v4n6dbjj3p5wlw1iyhgzyvqcv4h5fdxhhs2cb3md";
}
else throw "nvidia-x11 does not support platform ${stdenv.system}";

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
inherit (nvidia_x11) version;
src = fetchurl {
url = "ftp://download.nvidia.com/XFree86/nvidia-persistenced/${name}.tar.bz2";
url = "https://download.nvidia.com/XFree86/nvidia-persistenced/${name}.tar.bz2";
inherit sha256;
};

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
inherit (nvidia_x11) version;
src = fetchurl {
url = "ftp://download.nvidia.com/XFree86/nvidia-settings/${name}.tar.bz2";
url = "https://download.nvidia.com/XFree86/nvidia-settings/${name}.tar.bz2";
inherit sha256;
};