mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-25 06:38:22 +03:00
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:
parent
51c05696b1
commit
431e0454c3
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user