mirror of
https://github.com/NixOS/nix.git
synced 2024-11-30 02:32:26 +00:00
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"
|
||||
''
|
||||
echo "downloading $url into $out"
|
||||
${curl} --fail --location --max-redirs 20 "$url" > "$out"
|
||||
${curl} --fail --location --max-redirs 20 --insecure "$url" > "$out"
|
||||
'';
|
||||
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user