fetchhg: allow untrusted certs (merge #540)

It's for fixed-output derivations, security provided by output hash.
This commit is contained in:
Jack Cummings 2013-05-17 09:46:27 -07:00 committed by Vladimír Čunát
parent 23564a9356
commit 83e45309fd

View file

@ -2,7 +2,7 @@ source $stdenv/setup
header "getting $url${tag:+ ($tag)} into $out"
hg clone ${tag:+-r "$tag"} "$url" "$out"
hg clone --insecure ${tag:+-r "$tag"} "$url" "$out"
rm -rf "$out/.hg"