diff options
author | Matthieu Coudron <mattator@gmail.com> | 2020-05-23 17:05:52 +0200 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2020-06-06 20:21:17 +0200 |
commit | b4c7a0b76252f4c115e36bcb6496c7a5928a9ec7 (patch) | |
tree | e3ca8da2065436d710517dc76c924394d44e85f7 /pkgs/applications/editors/neovim | |
parent | c1728ad3c70c8e26ec65c65e8f558dbde1594c3e (diff) |
neovim-unwrapped: improve testing ability
Make functionaltests more complete.
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r-- | pkgs/applications/editors/neovim/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 475330a5fe57..0d54817c5340 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -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 = '' |