1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-26 15:29:47 +01:00
neovim-flake/flake/packages.nix

33 lines
729 B
Nix
Raw Normal View History

2023-02-10 18:40:13 +01:00
{inputs, ...}: {
perSystem = {
system,
config,
2023-02-10 18:50:20 +01:00
pkgs,
2023-02-10 18:40:13 +01:00
...
2023-03-31 04:26:46 +02:00
}: let
docs = import ../docs {
inherit pkgs;
nmdSrc = inputs.nmd;
};
in {
packages =
2023-02-10 18:40:13 +01:00
{
# Documentation
docs = docs.manual.html;
docs-html = docs.manual.html;
docs-manpages = docs.manPages;
docs-json = docs.options.json;
# nvim configs
nix = config.legacyPackages.neovim-nix;
maximal = config.legacyPackages.neovim-maximal;
2023-02-15 10:05:18 +01:00
default = config.legacyPackages.neovim-nix;
2023-02-10 18:40:13 +01:00
}
// (
if !(builtins.elem system ["aarch64-darwin" "x86_64-darwin"])
then {tidal = config.legacyPackages.neovim-tidal;}
else {}
);
};
}