mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00

It's hard to put the sourcing of ./.attrs.sh into all builder consistently - mistakes will happen. Thus, load structured attrs once in make-derivation and then source the remaining builder on top. This should fix quite a few builders with structured attributes in principle. Most importantly it helps substitute / substituteAll, which are required for bootstrap on some platforms.
11 lines
404 B
Bash
11 lines
404 B
Bash
echo "exporting $url (r$rev) into $out"
|
|
|
|
if test "$sshSupport"; then
|
|
export SVN_SSH="$openssh/bin/ssh"
|
|
fi
|
|
|
|
# Pipe the "p" character into Subversion to force it to accept the
|
|
# server's certificate. This is perfectly safe: we don't care
|
|
# whether the server is being spoofed --- only the cryptographic
|
|
# hash of the output matters.
|
|
expect -f $sshSubversion "$username" "$password" "$rev" "$url" $out
|