1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-07 17:41:04 +01:00
nixvim/flake/packages.nix
saygo-png 812d7e639d flake: move the nuschtosSearch input to the dev flake
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-12-05 13:44:35 +00:00

29 lines
591 B
Nix

{
self,
config,
inputs,
...
}:
let
# We use a flake input from the dev flake so that this doesn't end up in users' lockfiles.
inherit (config.partitions.dev.module.inputs) nuschtosSearch;
in
{
perSystem =
{
config,
system,
...
}:
{
# Run the docs server when using `nix run .#docs`
apps.docs.program = config.packages.serve-docs;
packages = import ../docs {
nixvim = self;
inherit system;
inherit (inputs) nixpkgs;
mkNuschtosSearch = nuschtosSearch.packages.${system}.mkSearch;
};
};
}