From bf042c580998db65a7e28670efc72819b74ac490 Mon Sep 17 00:00:00 2001 From: traxys Date: Fri, 17 Mar 2023 13:43:17 +0100 Subject: [PATCH] tests: Fix netman tests by including docker (#267) Netman tries to call 'docker -v' and it hangs neovim if the docker command is not found. This adds the docker binary to the derivation running checks --- lib/check.nix | 2 +- tests/plugins/netman.nix | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/check.nix b/lib/check.nix index 9e50b4e6..35ee91bb 100644 --- a/lib/check.nix +++ b/lib/check.nix @@ -8,7 +8,7 @@ pkgs.stdenv.mkDerivation { name = name; - nativeBuildInputs = [nvim]; + nativeBuildInputs = [nvim pkgs.docker-client]; dontUnpack = true; # We need to set HOME because neovim will try to create some files diff --git a/tests/plugins/netman.nix b/tests/plugins/netman.nix index 40641bfa..78a2bf21 100644 --- a/tests/plugins/netman.nix +++ b/tests/plugins/netman.nix @@ -1,11 +1,9 @@ { empty = { - tests.dontRun = true; plugins.netman.enable = true; }; withNeotree = { - tests.dontRun = true; plugins.neo-tree.enable = true; plugins.netman = { enable = true;