mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Introduces the `test.runNvim` module option. Deprecates the historic `dontRun` argument passed to the test-derivation helpers. Soft-deprecates the `tests.dontRun` attr used in tests currently.
13 lines
328 B
Nix
13 lines
328 B
Nix
# Args probably only needs pkgs and lib
|
|
{
|
|
makeNixvimWithModule,
|
|
pkgs,
|
|
lib ? pkgs.lib,
|
|
_nixvimTests ? false,
|
|
...
|
|
}@args:
|
|
{
|
|
# Add all exported modules here
|
|
check = import ../tests/test-derivation.nix { inherit makeNixvimWithModule lib pkgs; };
|
|
helpers = import ./helpers.nix (args // { inherit _nixvimTests; });
|
|
}
|