mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
parent
e80d1b6300
commit
e9200ffef2
|
@ -31,14 +31,15 @@ stdenv.mkDerivation rec {
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
nativeCheckInputs = [ lua51Packages.busted util-linux neovim ];
|
nativeCheckInputs = [ lua51Packages.busted util-linux neovim ];
|
||||||
# filter out one test that fails in the sandbox of nix
|
# 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
|
runHook preCheck
|
||||||
make test BUSTED='busted --output TAP --exclude-tags=nix'
|
make test BUSTED='busted --output TAP --exclude-tags=${exclude-tags}'
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
description = "Use neovim as pager";
|
description = "Use neovim as pager";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Use neovim as a pager to view manpages, diffs, etc with nvim's syntax
|
Use neovim as a pager to view manpages, diffs, etc with nvim's syntax
|
||||||
|
|
Loading…
Reference in a new issue