Pass --insecure to curl so that https works

This commit is contained in:
Eelco Dolstra 2012-07-09 15:49:20 -04:00
parent 2dd3117c27
commit eae802459d

View file

@ -10,7 +10,7 @@ let
builder = builtins.toFile "fetchurl.sh" builder = builtins.toFile "fetchurl.sh"
'' ''
echo "downloading $url into $out" echo "downloading $url into $out"
${curl} --fail --location --max-redirs 20 "$url" > "$out" ${curl} --fail --location --max-redirs 20 --insecure "$url" > "$out"
''; '';
in in