mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
This removes the need for end-users to manually set `nixvim.inputs.devshell.follows = ""` (etc) We offload evaluation of some of our flake modules into a `dev` partition submodule. - When its not needed, this submodule is not evaluated. - When it is needed, it fetches extra inputs from `flake/dev/flake.nix` as part of evaluating the submodule. See https://flake.parts/options/flake-parts-partitions.html
21 lines
283 B
Nix
21 lines
283 B
Nix
{
|
|
inputs,
|
|
helpers,
|
|
...
|
|
}:
|
|
{
|
|
perSystem =
|
|
{
|
|
inputs',
|
|
system,
|
|
...
|
|
}:
|
|
{
|
|
packages = import ../docs {
|
|
inherit helpers;
|
|
inherit system;
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs') nuschtosSearch;
|
|
};
|
|
};
|
|
}
|