test.buildNixvim
Whether to build the nixvim config in the test.
Type: boolean
Default:
true
Declared by:
test.extraInputs
A list of additional derivations to include in nativeBuildInputs
.
Usually used to include additional tests in the build closure,
such as tests created with runCommand
or testers
.
Type: list of package
Default:
[ ]
Example:
[
(pkgs.runCommand "foo" { } ''
touch $out
'')
(pkgs.testers.testEqualContents {
assertion = "extraConfigLua has expected content";
actual = pkgs.writeText "actual.lua" config.extraConfigLua;
expected = pkgs.writeText "expected.lua" ''
-- Hello, world!
'';
})
]
Declared by:
test.name
The test derivation’s name.
Type: string
Default:
"nixvim-check"
Declared by:
test.runNvim
Whether to run nvim
in the test.
Type: boolean
Default:
config.test.buildNixvim
Declared by: