mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
fetchhg: allow untrusted certs (merge #540)
It's for fixed-output derivations, security provided by output hash.
This commit is contained in:
parent
23564a9356
commit
83e45309fd
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user