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.
This commit is contained in:
Lucas Hoffmann 2022-02-05 11:01:38 +01:00
parent 51c05696b1
commit 431e0454c3

View File

@ -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
'';