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.
38 lines
831 B
Nix
38 lines
831 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.phpunit = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
phpunit_cmd.__raw = ''
|
|
function()
|
|
return "vendor/bin/phpunit"
|
|
end
|
|
'';
|
|
root_files = [
|
|
"composer.json"
|
|
"phpunit.xml"
|
|
".gitignore"
|
|
];
|
|
filter_dirs = [
|
|
".git"
|
|
"node_modules"
|
|
];
|
|
env = {
|
|
XDEBUG_CONFIG = "idekey=neotest";
|
|
};
|
|
dap = null;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|