mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
10 lines
251 B
Bash
10 lines
251 B
Bash
|
source "$stdenv/setup"
|
||
|
|
||
|
header "exporting \`$url' (revision $revision) into \`$out'"
|
||
|
|
||
|
# Perform a lightweight checkout so that we don't end up importing
|
||
|
# all the repository's history.
|
||
|
bzr checkout --lightweight "$url" -r "$revision" "$out"
|
||
|
|
||
|
stopNest
|