cvs: support ssh access

hacky wrapper handles ssh issues in nix builders
This commit is contained in:
Matthew Bauer
2018-04-24 14:16:29 -05:00
parent cd5dfa1f88
commit 0dc26d0e7e
2 changed files with 9 additions and 3 deletions
+6
View File
@@ -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"