mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
fe1c7a1945
they're obsolete
9 lines
248 B
Bash
9 lines
248 B
Bash
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
|
source $stdenv/setup
|
|
echo "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
|