neovim-flake/flake/develop.nix

32 lines
791 B
Nix
Raw Normal View History

2024-11-12 22:34:13 +01:00
{lib, ...}: {
perSystem = {
pkgs,
config,
self',
inputs',
2024-11-12 22:34:13 +01:00
...
}: {
devShells = {
default = self'.devShells.lsp;
nvim-nix = pkgs.mkShellNoCC {packages = [config.packages.nix];};
lsp = pkgs.mkShellNoCC {
2025-07-06 04:30:31 +02:00
packages = with pkgs; [nil statix deadnix alejandra npins];
2024-11-12 22:34:13 +01:00
};
};
# This package exists to make development easier by providing the place and
# boilerplate to build a test nvf configuration. Feel free to use this for
# testing, but make sure to discard the changes before creating a pull
# request.
packages.dev = let
configuration = {};
customNeovim = lib.nvim.neovimConfiguration {
inherit pkgs;
modules = [configuration];
};
in
customNeovim.neovim;
};
}