lol

nvimpager: unbreak on darwin (#299252)

Fixes nvimpager in darwin.

authored by

Joan Massachs and committed by
GitHub
e9200ffe e80d1b63

+4 -3
+4 -3
pkgs/tools/misc/nvimpager/default.nix
··· 31 31 doCheck = true; 32 32 nativeCheckInputs = [ lua51Packages.busted util-linux neovim ]; 33 33 # filter out one test that fails in the sandbox of nix 34 - checkPhase = '' 34 + checkPhase = let 35 + exclude-tags = if stdenv.isDarwin then "nix,mac" else "nix"; 36 + in '' 35 37 runHook preCheck 36 - make test BUSTED='busted --output TAP --exclude-tags=nix' 38 + make test BUSTED='busted --output TAP --exclude-tags=${exclude-tags}' 37 39 runHook postCheck 38 40 ''; 39 41 40 42 meta = with lib; { 41 - broken = stdenv.isDarwin; 42 43 description = "Use neovim as pager"; 43 44 longDescription = '' 44 45 Use neovim as a pager to view manpages, diffs, etc with nvim's syntax