Skip to content

Commit

Permalink
nvimpager: unbreak on darwin (#299252)
Browse files Browse the repository at this point in the history
Fixes nvimpager in darwin.
  • Loading branch information
JoanMassachs committed Mar 27, 2024
1 parent e80d1b6 commit e9200ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/tools/misc/nvimpager/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit e9200ff

Please sign in to comment.