blob: 08a1cc5d34190057e601ece00feaf4ab91a1e85e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
source $stdenv/setup
header "exporting $url (rev $rev) into $out"
git clone "$url" $out
if test -n "$rev"; then
cd $out
git checkout $rev
fi
find $out -name .git\* | xargs rm -rf
stopNest
|