curl: fetchurl more securely

This commit is contained in:
SLNOS 2018-02-01 00:00:00 +00:00 committed by Jan Malakhovski
parent 3be3c2906e
commit 40bceae84e

View File

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
name = "curl-7.58.0"; name = "curl-7.58.0";
src = fetchurl { src = fetchurl {
url = "http://curl.haxx.se/download/${name}.tar.bz2"; url = "https://curl.haxx.se/download/${name}.tar.bz2";
sha256 = "0cg7klhf1ksnbw5wvwa802qir877zv4y3dj7swz1xh07g3wq3c0w"; sha256 = "0cg7klhf1ksnbw5wvwa802qir877zv4y3dj7swz1xh07g3wq3c0w";
}; };