rc: add readline and editline variants to passthru.tests
This commit is contained in:
committed by
Dmitry Bogatov
parent
c57117faef
commit
56b204e3c4
@@ -4,6 +4,7 @@
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pkgsStatic,
|
||||
rc,
|
||||
byacc,
|
||||
ed,
|
||||
ncurses,
|
||||
@@ -88,7 +89,21 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
passthru = {
|
||||
shellPath = "/bin/rc";
|
||||
tests.static = pkgsStatic.rc;
|
||||
tests = {
|
||||
static = pkgsStatic.rc;
|
||||
readline = lib.optionalDrvAttr (!stdenv.hostPlatform.isDarwin) (
|
||||
rc.override {
|
||||
readlineSupport = true;
|
||||
lineEditingLibrary = "readline";
|
||||
}
|
||||
);
|
||||
editline = lib.optionalDrvAttr (!stdenv.hostPlatform.isDarwin) (
|
||||
rc.override {
|
||||
editlineSupport = true;
|
||||
lineEditingLibrary = "editline";
|
||||
}
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user