mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-30 15:23:26 +03:00
11 lines
218 B
Bash
11 lines
218 B
Bash
source $stdenv/setup
|
|
|
|
header "getting $url${tag:+ ($tag)} into $out"
|
|
|
|
hg clone --insecure ${tag:+-r "$tag"} "$url" hg-clone
|
|
|
|
hg archive -q -y ${tag:+-r "$tag"} --cwd hg-clone $out
|
|
rm -f $out/.hg_archival.txt
|
|
|
|
stopNest
|