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

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

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

rm -rf "$out/.hg"

stopNest