about summary refs log tree commit diff
path: root/corepkgs/fetchurl.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09T19·49-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09T19·49-0400
commiteae802459d7639a69baec555264f394adad043c0 (patch)
tree9d46dfa0776eac1a6fb3be922e3c1247f856fc57 /corepkgs/fetchurl.nix
parent2dd3117c2723ff08c6226b71d569bcea50d58ad1 (diff)
Pass --insecure to curl so that https works
Diffstat (limited to 'corepkgs/fetchurl.nix')
-rw-r--r--corepkgs/fetchurl.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/fetchurl.nix b/corepkgs/fetchurl.nix
index 8fc1c5970bc5..4a0ae827995d 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