Skip to content

Commit

Permalink
Merge pull request #25333 from zraexy/zraexy-nvidia-x11
Browse files Browse the repository at this point in the history
nvidia-x11: switch download urls to https
(cherry picked from commit b5c3586)
  • Loading branch information
7c6f434c authored and vcunat committed Apr 30, 2017
1 parent e7a8234 commit e2c4633
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/nvidia-x11/generic.nix
Expand Up @@ -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}";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/nvidia-x11/legacy173.nix
Expand Up @@ -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}";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/nvidia-x11/persistenced.nix
Expand Up @@ -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;
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/nvidia-x11/settings.nix
Expand Up @@ -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;
};

Expand Down

0 comments on commit e2c4633

Please sign in to comment.