summary refs log tree commit diff
path: root/pkgs/build-support/fetchcvs/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/fetchcvs/builder.sh')
-rw-r--r--pkgs/build-support/fetchcvs/builder.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchcvs/builder.sh b/pkgs/build-support/fetchcvs/builder.sh
index 6ee594b33b2..47ae909f3ab 100644
--- a/pkgs/build-support/fetchcvs/builder.sh
+++ b/pkgs/build-support/fetchcvs/builder.sh
@@ -1,5 +1,11 @@
 source $stdenv/setup
 
+(echo '#!/usr/bin/env sh'; \
+ echo 'echo $@'; \
+ echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh
+chmod +x ssh
+export CVS_RSH=$PWD/ssh
+
 # creating the export drictory and checking out there only to be able to
 # move the content without the root directory into $out ...
 # cvs -f -d "$url" export $tag -d "$out" "$module"