mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
Add _nixvimTests = false to flake.lib output (#1125)
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
This commit is contained in:
parent
f53be2242e
commit
485d21f60d
1 changed files with 2 additions and 1 deletions
|
@ -3,11 +3,12 @@
|
||||||
makeNixvim,
|
makeNixvim,
|
||||||
makeNixvimWithModule,
|
makeNixvimWithModule,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
_nixvimTests ? false,
|
||||||
...
|
...
|
||||||
} @ args: {
|
} @ args: {
|
||||||
# Add all exported modules here
|
# Add all exported modules here
|
||||||
check = import ../tests/test-derivation.nix {
|
check = import ../tests/test-derivation.nix {
|
||||||
inherit makeNixvim makeNixvimWithModule pkgs;
|
inherit makeNixvim makeNixvimWithModule pkgs;
|
||||||
};
|
};
|
||||||
helpers = import ./helpers.nix args;
|
helpers = import ./helpers.nix (args // {inherit _nixvimTests;});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue