mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
Upstream package failing to build in sandbox. Cannot set a package to null so just disabling those tests on darwin.
36 lines
939 B
Nix
36 lines
939 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.pest = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
ignore_dirs = [
|
|
"vendor"
|
|
"node_modules"
|
|
];
|
|
root_ignore_files = [ "phpunit-only.tests" ];
|
|
test_file_suffixes = [
|
|
"Test.php"
|
|
"_test.php"
|
|
"PestTest.php"
|
|
];
|
|
sail_enabled.__raw = "function() return false end";
|
|
sail_executable = "vendor/bin/sail";
|
|
pest_cmd = "vendor/bin/pest";
|
|
parallel = 16;
|
|
compact = false;
|
|
results_path.__raw = "function() return '/some/accessible/path' end";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|