mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
lib: rename helpers.nix
-> default.nix
The old `default.nix` is inlined into the "lib" flake-module, which is
the only place it was used.
This allows "helpers" to take its rightful place at the root of `./lib` 👑
This commit is contained in:
parent
0b665b200b
commit
7a147234f8
9 changed files with 116 additions and 122 deletions
|
@ -46,8 +46,7 @@ in
|
|||
config = mkMerge [
|
||||
{
|
||||
# Make our lib available to the host modules
|
||||
# TODO: import top-level ../lib
|
||||
lib.nixvim = lib.mkDefault (import ../lib/helpers.nix { inherit pkgs lib; });
|
||||
lib.nixvim = lib.mkDefault (import ../lib { inherit pkgs lib; });
|
||||
|
||||
# Make nixvim's "extended" lib available to the host's module args
|
||||
_module.args.nixvimLib = lib.mkDefault config.lib.nixvim.extendedLib;
|
||||
|
|
|
@ -7,7 +7,7 @@ default_pkgs: self:
|
|||
module,
|
||||
}:
|
||||
let
|
||||
helpers = import ../lib/helpers.nix { inherit pkgs lib _nixvimTests; };
|
||||
helpers = import ../lib { inherit pkgs lib _nixvimTests; };
|
||||
|
||||
inherit (helpers.modules) evalNixvim;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue