aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09 15:49:20 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09 15:49:20 -0400
commiteae802459d7639a69baec555264f394adad043c0 (patch)
tree9d46dfa0776eac1a6fb3be922e3c1247f856fc57
parent2dd3117c2723ff08c6226b71d569bcea50d58ad1 (diff)
Pass --insecure to curl so that https works
-rw-r--r--corepkgs/fetchurl.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix
index 8fc1c5970..4a0ae8279 100644
--- a/corepkgs/fetchurl.nix
+++ b/corepkgs/fetchurl.nix
@@ -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