We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b15f303 commit eaaddd4Copy full SHA for eaaddd4
1 file changed
pkgs/by-name/cv/cvs/package.nix
@@ -3,7 +3,11 @@
3
fetchpatch2,
4
fetchurl,
5
nano,
6
+ openssh,
7
stdenv,
8
+ # Boolean flags
9
+ ___forceSSH ? true, # Sets SSH (openssh) as the remote shell
10
+ ___withEditor ? true, # Sets the default editor (nano)
11
}:
12
13
stdenv.mkDerivation (finalAttrs: {
@@ -46,8 +50,8 @@ stdenv.mkDerivation (finalAttrs: {
46
50
];
47
51
48
52
configureFlags = [
49
- "--with-editor=${nano}/bin/nano"
-
53
+ (lib.withFeatureAs ___forceSSH "rsh" (lib.getExe openssh))
54
+ (lib.withFeatureAs ___withEditor "editor" (lib.getExe nano))
55
# Required for cross-compilation.
56
"cvs_cv_func_printf_ptr=yes"
57
0 commit comments