Unverified Commit e9200ffe authored by Joan Massachs's avatar Joan Massachs Committed by GitHub
Browse files

nvimpager: unbreak on darwin (#299252)

Fixes nvimpager in darwin.
parent e80d1b63
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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