mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
Upstream package failing to build in sandbox. Cannot set a package to null so just disabling those tests on darwin.
33 lines
823 B
Nix
33 lines
823 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
# TODO: added 2024-09-15
|
|
# TODO: Re-enable when upstream builds in darwin sandbox
|
|
example = lib.mkIf pkgs.stdenv.isLinux {
|
|
plugins = {
|
|
treesitter.enable = true;
|
|
neotest = {
|
|
enable = true;
|
|
|
|
adapters.elixir = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
mix_task = [ "my_custom_task" ];
|
|
extra_formatters = [
|
|
"ExUnit.CLIFormatter"
|
|
"ExUnitNotifier"
|
|
];
|
|
extra_block_identifiers = [ "test_with_mock" ];
|
|
args = [ "--trace" ];
|
|
post_process_command.__raw = ''
|
|
function(cmd)
|
|
return vim.tbl_flatten({{"env", "FOO=bar"}, cmd})
|
|
end
|
|
'';
|
|
write_delay = 1000;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|