From 431e0454c3c8769c0f3a40818373aa817aecf662 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sat, 5 Feb 2022 11:01:38 +0100 Subject: [PATCH] nvimpager: 0.10.4 -> 0.11.0 The -e option to script(1) propagates the exit status of the child. This revealed that one test currently hangs indefinitely in the nix sandbox, hence it was deactivated. --- pkgs/tools/misc/nvimpager/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/nvimpager/default.nix b/pkgs/tools/misc/nvimpager/default.nix index 41a0e517ee40..6e415461c495 100644 --- a/pkgs/tools/misc/nvimpager/default.nix +++ b/pkgs/tools/misc/nvimpager/default.nix @@ -6,13 +6,13 @@ stdenv.mkDerivation rec { pname = "nvimpager"; - version = "0.10.4"; + version = "0.11.0"; src = fetchFromGitHub { owner = "lucc"; repo = pname; rev = "v${version}"; - sha256 = "sha256-0guSL4RvYQFwok7zGuevhQY6DHjnETRLpEIEQfGslcg="; + sha256 = "sha256-tjnmY7dJUE5k8hlAfNKcHqmpw0ciS6T5WJOpDvvt2V0="; }; buildInputs = [ @@ -30,9 +30,10 @@ stdenv.mkDerivation rec { doCheck = true; checkInputs = [ lua51Packages.busted util-linux neovim ]; + # filter out one test that fails in the sandbox of nix checkPhase = '' runHook preCheck - script -c "busted --lpath './?.lua' test" + script -ec "busted --lpath './?.lua' --filter-out 'handles man' test" runHook postCheck '';