summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-07 09:25:46 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-07 09:25:46 +0200
commitd0532e79ae545f3fcb7fafe58c05e58c8115a0e0 (patch)
tree5162faa0055599c44e312ee80a2748b50dc24e4f /pkgs/applications/editors/neovim
parent98c44f565746165a556953cda769d23d732466f4 (diff)
parent6b8223e634b1326f448b870351ae53a0607aa043 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/default.nix10
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 = ''