mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 10:44:34 +02:00
treewide: avoid passing pkgs
to our lib
In the two places where our "helpers" lib is exclusively internal (flake module args and building the docs), we no longer supply `pkgs`. In the other 4 locations, we now note why we still do in a comment.
This commit is contained in:
parent
76df09619d
commit
191b0a9502
7 changed files with 11 additions and 10 deletions
|
@ -45,6 +45,7 @@ let
|
|||
}@args:
|
||||
let
|
||||
helpers = import ../lib {
|
||||
# NOTE: must match the user-facing functions, so we still include the `pkgs` argument
|
||||
inherit pkgs lib;
|
||||
# TODO: deprecate helpers.enableExceptInTests,
|
||||
# add a context option e.g. `config.isTest`?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue