neovim-unwrapped: improve testing ability

Make functionaltests more complete.
This commit is contained in:
Matthieu Coudron 2020-05-23 17:05:52 +02:00
parent c1728ad3c7
commit b4c7a0b762

View file

@ -6,6 +6,7 @@
# now defaults to false because some tests can be flaky (clipboard etc)
, doCheck ? false
, nodejs ? null, fish ? null, python ? null
}:
with stdenv.lib;
@ -17,6 +18,8 @@ let
nvim-client luv coxpcall busted luafilesystem penlight inspect
]
));
pyEnv = python.withPackages(ps: [ ps.pynvim ps.msgpack ]);
in
stdenv.mkDerivation rec {
pname = "neovim-unwrapped";
@ -67,6 +70,13 @@ in
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
postPatch = ''