From eae802459d7639a69baec555264f394adad043c0 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Mon, 9 Jul 2012 15:49:20 -0400
Subject: [PATCH] Pass --insecure to curl so that https works

---
 corepkgs/fetchurl.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab