parent
e80d1b6300
commit
e9200ffef2
1 changed files with 4 additions and 3 deletions
|
@ -31,14 +31,15 @@ stdenv.mkDerivation rec {
|
|||
doCheck = true;
|
||||
nativeCheckInputs = [ lua51Packages.busted util-linux neovim ];
|
||||
# filter out one test that fails in the sandbox of nix
|
||||
checkPhase = ''
|
||||
checkPhase = let
|
||||
exclude-tags = if stdenv.isDarwin then "nix,mac" else "nix";
|
||||
in ''
|
||||
runHook preCheck
|
||||
make test BUSTED='busted --output TAP --exclude-tags=nix'
|
||||
make test BUSTED='busted --output TAP --exclude-tags=${exclude-tags}'
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Use neovim as pager";
|
||||
longDescription = ''
|
||||
Use neovim as a pager to view manpages, diffs, etc with nvim's syntax
|
||||
|
|
Loading…
Reference in a new issue