mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
lib: make overrideable & access via flake
Add a non-system specific `<flake>.lib.nixvim` output, which is equivalent to the existing `<flake>.lib.<system>.helpers` output. This is now also wrapped with `lib.makeOverridable` to allow overriding the function args used to construct the nixvim-lib. Consistently access nixvim-lib via the new flake output, overriding where necessary.
This commit is contained in:
parent
e2ef15a665
commit
4b3b67fb6f
6 changed files with 33 additions and 35 deletions
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
helpers,
|
||||
system,
|
||||
nixpkgs,
|
||||
nuschtosSearch,
|
||||
|
@ -7,7 +8,6 @@ let
|
|||
# We overlay a few tweaks into pkgs, for use in the docs
|
||||
pkgs = import ./pkgs.nix { inherit system nixpkgs; };
|
||||
inherit (pkgs) lib;
|
||||
helpers = import ../lib { inherit lib; };
|
||||
|
||||
nixvimPath = toString ./..;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue