From e49a62439065191fc1432b447d37149557d92fc2 Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Thu, 26 Mar 2020 00:06:42 -0400 Subject: [PATCH] sudo: switch download from FTP to HTTPS Many firewalls don't allow FTP traffic through; HTTPS should be preferred when possible for both availability and performance. --- pkgs/tools/security/sudo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/sudo/default.nix b/pkgs/tools/security/sudo/default.nix index 30f45d100ada..e92ce05ad1a9 100644 --- a/pkgs/tools/security/sudo/default.nix +++ b/pkgs/tools/security/sudo/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { version = "1.8.31p1"; src = fetchurl { - url = "ftp://ftp.sudo.ws/pub/sudo/${pname}-${version}.tar.gz"; + url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz"; sha256 = "1n0mdmgcs92af34xxsnsh1arrngymhdmwd9srjgjbk65q7xzsg67"; };