Pass --insecure to curl so that https works
This commit is contained in:
		
							parent
							
								
									2dd3117c27
								
							
						
					
					
						commit
						eae802459d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue