mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib: remove dependency on pkgs
This commit is contained in:
parent
9e6b207401
commit
32027965d8
6 changed files with 28 additions and 35 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue