lib: remove dependency on pkgs

This commit is contained in:
Matt Sturgeon 2024-12-15 05:23:06 +00:00
parent 9e6b207401
commit 32027965d8
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
6 changed files with 28 additions and 35 deletions

View file

@ -44,9 +44,9 @@ let
dontRun ? false,
}@args:
let
# NOTE: we are importing this just for evalNixvim
helpers = import ../lib {
# NOTE: must match the user-facing functions, so we still include the `pkgs` argument
inherit pkgs lib;
inherit lib;
# TODO: deprecate helpers.enableExceptInTests,
# add a context option e.g. `config.isTest`?
_nixvimTests = true;