nixpkgs-suyu/pkgs/build-support/fetchhg/builder.sh
Rob Vermaas 66b4a5a009 revert previous commit, i'm not awake...
svn path=/nixpkgs/trunk/; revision=30971
2011-12-19 21:15:17 +00:00

9 lines
140 B
Bash

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