summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg/builder.sh
blob: 73ec7ec0b36219e1d6f531cf403d02d4e0ec8f0e (plain) (blame)
1
2
3
4
5
6
7
8
9
source $stdenv/setup

header "getting $url${tag:+ ($tag)} into $out"

hg clone --insecure ${tag:+-r "$tag"} "$url" "$out"

rm -rf "$out/.hg"

stopNest