neovim-unwrapped: improve testing ability
Make functionaltests more complete.
This commit is contained in:
parent
c1728ad3c7
commit
b4c7a0b762
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
# now defaults to false because some tests can be flaky (clipboard etc)
|
# now defaults to false because some tests can be flaky (clipboard etc)
|
||||||
, doCheck ? false
|
, doCheck ? false
|
||||||
|
, nodejs ? null, fish ? null, python ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -17,6 +18,8 @@ let
|
|||||||
nvim-client luv coxpcall busted luafilesystem penlight inspect
|
nvim-client luv coxpcall busted luafilesystem penlight inspect
|
||||||
]
|
]
|
||||||
));
|
));
|
||||||
|
|
||||||
|
pyEnv = python.withPackages(ps: [ ps.pynvim ps.msgpack ]);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "neovim-unwrapped";
|
pname = "neovim-unwrapped";
|
||||||
@ -67,6 +70,13 @@ in
|
|||||||
pkgconfig
|
pkgconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# extra programs test via `make functionaltest`
|
||||||
|
checkInputs = [
|
||||||
|
fish
|
||||||
|
nodejs
|
||||||
|
pyEnv # for src/clint.py
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
# nvim --version output retains compilation flags and references to build tools
|
# nvim --version output retains compilation flags and references to build tools
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user