mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
Use `mkTestDerivationFromNixvimModule` instead of `mkTestDerivation`, allowing "proper" modules to be used instead of plain attr configs. This is useful for more complex tests that wish to use `config` or `options` arguments, e.g: ```nix {config, options, ...}: { /* some cool test */ } ``` To allow `tests.dontRun` to be defined on such a test, the module is allowed to be nested as `module`, e.g: ```nix { tests.dontRun = true; module = {config, options, ...}: { /* a disabled test */ }; } ``` Also ended up doing some general cleanup, removing an unused function, etc. |
||
---|---|---|
.. | ||
modules | ||
test-sources | ||
default.nix | ||
enable-except-in-tests.nix | ||
extend.nix | ||
extra-args.nix | ||
fetch-tests.nix | ||
lib-tests.nix | ||
no-flake.nix | ||
test-derivation.nix |