1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-27 04:31:04 +01:00

flake: remove helpers module arg

Not to be confused with the Nixvim-configuration `helpers` module arg,
remove the flake-parts `helpers` module arg.
This commit is contained in:
Matt Sturgeon 2025-11-24 07:41:20 +00:00
parent 3426dd04bb
commit 7d17c1b71d
6 changed files with 7 additions and 23 deletions

View file

@ -1,14 +1,10 @@
{
self,
helpers,
...
}:
{ self, ... }:
{
perSystem =
{ pkgs, ... }:
let
tests = pkgs.callPackage ../../tests {
inherit helpers self;
inherit self;
};
in
{

View file

@ -6,11 +6,6 @@
...
}:
{
# Expose lib as a flake-parts module arg
_module.args = {
helpers = self.lib.nixvim;
};
# Public `lib` flake output
flake.lib = {
nixvim = lib.makeOverridable ({ lib }: (lib.extend self.lib.overlay).nixvim) {

View file

@ -1,9 +1,9 @@
{ helpers, ... }:
{ self, ... }:
{
perSystem =
{ system, ... }:
{
nixvimConfigurations.default = helpers.modules.evalNixvim {
nixvimConfigurations.default = self.lib.evalNixvim {
inherit system;
};
};

View file

@ -1,9 +1,4 @@
{
self,
inputs,
helpers,
...
}:
{ self, inputs, ... }:
{
perSystem =
{
@ -18,7 +13,6 @@
packages = import ../docs {
nixvim = self;
inherit helpers;
inherit system;
inherit (inputs) nixpkgs;
inherit (inputs') nuschtosSearch;