mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 03:34:31 +02:00
lib: rename helpers.nix
-> default.nix
The old `default.nix` is inlined into the "lib" flake-module, which is
the only place it was used.
This allows "helpers" to take its rightful place at the root of `./lib` 👑
This commit is contained in:
parent
0b665b200b
commit
7a147234f8
9 changed files with 116 additions and 122 deletions
|
@ -44,7 +44,7 @@ let
|
|||
dontRun ? false,
|
||||
}@args:
|
||||
let
|
||||
helpers = import ../lib/helpers.nix {
|
||||
helpers = import ../lib {
|
||||
inherit pkgs lib;
|
||||
# TODO: deprecate helpers.enableExceptInTests,
|
||||
# add a context option e.g. `config.isTest`?
|
||||
|
@ -72,6 +72,7 @@ let
|
|||
in
|
||||
result.config.test.derivation;
|
||||
in
|
||||
# NOTE: this is exported publicly in the flake outputs as `lib.<system>.check`
|
||||
{
|
||||
inherit mkTestDerivationFromNvim mkTestDerivationFromNixvimModule;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue