about summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchsvn/builder.sh')
-rw-r--r--pkgs/build-support/fetchsvn/builder.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchsvn/builder.sh b/pkgs/build-support/fetchsvn/builder.sh
index 8153cbdf6d96..d06efa88e291 100644
--- a/pkgs/build-support/fetchsvn/builder.sh
+++ b/pkgs/build-support/fetchsvn/builder.sh
@@ -2,6 +2,10 @@ source $stdenv/setup
 
 header "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