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

10 lines
140 B
Bash
Raw Normal View History

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