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:
Matt Sturgeon 2024-09-13 14:44:42 +01:00
parent 0b665b200b
commit 7a147234f8
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
9 changed files with 116 additions and 122 deletions

View file

@ -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;
}