nixpkgs/pkgs/build-support/fetchhg/builder.sh
Rob Vermaas 1ef78f94eb make sure fetchhg always produces same output for same revision
svn path=/nixpkgs/trunk/; revision=30970
2011-12-19 21:12:57 +00:00

11 lines
170 B
Bash

source $stdenv/setup
header "getting $url${tag:+ ($tag)} into $out"
hg clone ${tag:+-r "$tag"} "$url" "$out"
rm -rf "$out/.hg"
rm -f "$out/.hg_archival.txt"
stopNest