mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
205fb0c87e
svn path=/nixpkgs/trunk/; revision=16035
13 lines
196 B
Bash
13 lines
196 B
Bash
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
|
|
|