From 08c75aaedc45ee15fc7e8f9f5967606d6d0f997f Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Mon, 3 Dec 2018 22:10:29 +0000 Subject: [PATCH] libffi: swap src URL from FTP to HTTPS HTTPS is never worse and often better than FTP, since it's faster, more secure, and more likely to be accessible through firewalls. This does not change the tarball sha, as confirmed by `nix-prefetch-url`. --- pkgs/development/libraries/libffi/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 215f587bb6b4..384e3370ec9c 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { name = "libffi-3.2.1"; src = fetchurl { - url = "ftp://sourceware.org/pub/libffi/${name}.tar.gz"; + url = "https://sourceware.org/pub/libffi/${name}.tar.gz"; sha256 = "0dya49bnhianl0r65m65xndz6ls2jn1xngyn72gd28ls3n7bnvnh"; };