mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 09:36:10 +02:00
In the two places where our "helpers" lib is exclusively internal (flake module args and building the docs), we no longer supply `pkgs`. In the other 4 locations, we now note why we still do in a comment.
22 lines
431 B
Nix
22 lines
431 B
Nix
{ helpers, ... }:
|
|
{
|
|
perSystem =
|
|
{
|
|
pkgs,
|
|
makeNixvimWithModule,
|
|
...
|
|
}:
|
|
{
|
|
legacyPackages = rec {
|
|
inherit makeNixvimWithModule;
|
|
makeNixvim = module: makeNixvimWithModule { inherit module; };
|
|
|
|
nixvimConfiguration = helpers.modules.evalNixvim {
|
|
extraSpecialArgs = {
|
|
defaultPkgs = pkgs;
|
|
};
|
|
check = false;
|
|
};
|
|
};
|
|
};
|
|
}
|