summary refs log tree commit diff
path: root/pkgs/build-support/fetchhg/builder.sh
blob: 9699fb69b7fc054045f9178db4ad750581c58376 (plain) (blame)
1
2
3
4
5
6
7
8
9
source $stdenv/setup
header "getting $url${tag:+ ($tag)} into $out"

hg clone --insecure "$url" hg-clone

hg archive -q -y ${tag:+-r "$tag"} --cwd hg-clone $out
rm -f $out/.hg_archival.txt

stopNest