mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
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)
|
||||
, 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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user