1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-21 17:59:41 +01:00
nixvim/modules/top-level
Matt Sturgeon 8d0ca9abc4 lib: move enableExceptInTests impl to build.test option
Simplify the `enableExceptInTests` attribute, removing the
`_nixvimTests` argument.

We now do a full re-eval of the nixvim configuration before building the
test, giving us a central place to implement `enableExceptInTests` and
its eventual replacement(s).

This extends support for `enableExceptInTests` to all methods of getting
a nixvim test derivation. Previously, it only worked when using `mkTestDerivationFromNixvimModule`.

In `tests/main.nix`, we avoid the re-eval by doing the initial eval with
a "test mode" lib from the start.
2025-11-20 00:22:57 +00:00
..
files modules: move nixpkgs module to top-level modules 2024-09-27 09:30:12 +01:00
plugins modules/performance: add excludedPlugins option to byte compilation 2025-09-14 11:48:13 +00:00
default.nix modules: refactor plugins code in top-level 2025-04-01 15:43:26 +02:00
nixpkgs.nix docs: use official names of NixOS, Home Manager and nix-darwin 2025-10-18 00:05:26 +00:00
output.nix treewide: remove internal use of helpers module arg 2025-11-19 15:22:27 +00:00
readonly-renames.nix modules/{output,files,test}: move outputs to build scope 2024-09-26 06:31:57 +01:00
test.nix lib: move enableExceptInTests impl to build.test option 2025-11-20 00:22:57 +00:00