···1source $stdenv/setup
20000003# creating the export drictory and checking out there only to be able to
4# move the content without the root directory into $out ...
5# cvs -f -d "$url" export $tag -d "$out" "$module"
···1source $stdenv/setup
23+(echo '#!/usr/bin/env sh'; \
4+ echo 'echo $@'; \
5+ echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh
6+chmod +x ssh
7+export CVS_RSH=$PWD/ssh
8+9# creating the export drictory and checking out there only to be able to
10# move the content without the root directory into $out ...
11# cvs -f -d "$url" export $tag -d "$out" "$module"
+3-3
pkgs/build-support/fetchcvs/default.nix
···3# tag="<tagname>" (get version by tag name)
4# If you don't specify neither one date="NOW" will be used (get latest)
56-{stdenvNoCC, cvs}:
78{cvsRoot, module, tag ? null, date ? null, sha256}:
910stdenvNoCC.mkDerivation {
11 name = "cvs-export";
12 builder = ./builder.sh;
13- nativeBuildInputs = [cvs];
1415 outputHashAlgo = "sha256";
16 outputHashMode = "recursive";
17 outputHash = sha256;
18-19 inherit cvsRoot module sha256 tag date;
20}
···3# tag="<tagname>" (get version by tag name)
4# If you don't specify neither one date="NOW" will be used (get latest)
56+{stdenvNoCC, cvs, openssh}:
78{cvsRoot, module, tag ? null, date ? null, sha256}:
910stdenvNoCC.mkDerivation {
11 name = "cvs-export";
12 builder = ./builder.sh;
13+ nativeBuildInputs = [cvs openssh];
1415 outputHashAlgo = "sha256";
16 outputHashMode = "recursive";
17 outputHash = sha256;
18+19 inherit cvsRoot module sha256 tag date;
20}