c01f509e44
if theres a source $stdenv then this is needed for structuredAttrs
10 lines
260 B
Bash
10 lines
260 B
Bash
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
|
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
|