nixpkgs/pkgs/build-support/fetchhg/builder.sh

10 lines
199 B
Bash
Raw Normal View History

source $stdenv/setup
header "getting $url${tag:+ ($tag)} into $out"
2014-05-29 09:06:13 +02:00
hg clone --insecure "$url" hg-clone
hg archive -q -y ${tag:+-r "$tag"} --cwd hg-clone $out
rm -f $out/.hg_archival.txt
stopNest