about summary refs log tree commit diff
path: root/pkgs/tools/misc/nvimpager
diff options
context:
space:
mode:
authorLucas Hoffmann <lucc@posteo.de>2022-02-05 11:01:38 +0100
committerLucas Hoffmann <lucc@posteo.de>2022-10-14 19:34:45 +0200
commit431e0454c3c8769c0f3a40818373aa817aecf662 (patch)
tree049d759f8d42a735d3d0ab9729129aed478ac54e /pkgs/tools/misc/nvimpager
parent51c05696b16086e0c6d14b4cd72c07da4dc0fc6a (diff)
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.
Diffstat (limited to 'pkgs/tools/misc/nvimpager')
-rw-r--r--pkgs/tools/misc/nvimpager/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/misc/nvimpager/default.nix b/pkgs/tools/misc/nvimpager/default.nix
index 41a0e517ee400..6e415461c4953 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
   '';