mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
In my personal configuration, I rely on `nixvim.lib.${system}.helpers` to get access to things like `mkRaw` and `toLuaObject` for use in my extended `lib`.
With the changes made in 6d7e429537
, `nixvim.lib.${system}.helpers` can no longer be accessed directly from the `nixvim` input as `_nixvimTests` is not provided as an input attribute, so loading `helpers.nix` fails.
This small change restores what I *think* is the intended behavior of this module
14 lines
337 B
Nix
14 lines
337 B
Nix
# Args probably only needs pkgs and lib
|
|
{
|
|
makeNixvim,
|
|
makeNixvimWithModule,
|
|
pkgs,
|
|
_nixvimTests ? false,
|
|
...
|
|
} @ args: {
|
|
# Add all exported modules here
|
|
check = import ../tests/test-derivation.nix {
|
|
inherit makeNixvim makeNixvimWithModule pkgs;
|
|
};
|
|
helpers = import ./helpers.nix (args // {inherit _nixvimTests;});
|
|
}
|