mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
c01f509e44
if theres a source $stdenv then this is needed for structuredAttrs
11 lines
324 B
Bash
11 lines
324 B
Bash
if [ -e .attrs.sh ]; then source .attrs.sh; fi
|
|
source "$stdenv/setup"
|
|
|
|
header "exporting \`$url' (revision $rev) into \`$out'"
|
|
|
|
# Perform a lightweight checkout so that we don't end up importing
|
|
# all the repository's history.
|
|
BZR_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
|
|
|
|
stopNest
|