···11source $stdenv/setup
2233+(echo '#!/usr/bin/env sh'; \
44+ echo 'echo $@'; \
55+ echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh
66+chmod +x ssh
77+export CVS_RSH=$PWD/ssh
88+39# creating the export drictory and checking out there only to be able to
410# move the content without the root directory into $out ...
511# cvs -f -d "$url" export $tag -d "$out" "$module"
+3-3
pkgs/build-support/fetchcvs/default.nix
···33# tag="<tagname>" (get version by tag name)
44# If you don't specify neither one date="NOW" will be used (get latest)
5566-{stdenvNoCC, cvs}:
66+{stdenvNoCC, cvs, openssh}:
7788{cvsRoot, module, tag ? null, date ? null, sha256}:
991010stdenvNoCC.mkDerivation {
1111 name = "cvs-export";
1212 builder = ./builder.sh;
1313- nativeBuildInputs = [cvs];
1313+ nativeBuildInputs = [cvs openssh];
14141515 outputHashAlgo = "sha256";
1616 outputHashMode = "recursive";
1717 outputHash = sha256;
1818-1818+1919 inherit cvsRoot module sha256 tag date;
2020}