mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
10 lines
213 B
Bash
10 lines
213 B
Bash
source $stdenv/setup
|
|
header "getting $url${rev:+ ($rev)} into $out"
|
|
|
|
hg clone --insecure "$url" hg-clone
|
|
|
|
hg archive -q$subrepoClause -y ${rev:+-r "$rev"} --cwd hg-clone $out
|
|
rm -f $out/.hg_archival.txt
|
|
|
|
stopNest
|