Pass --insecure to curl so that https works
This commit is contained in:
parent
2dd3117c27
commit
eae802459d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue