build: Add testNvim to dev shell

This commit is contained in:
punkfairie 2025-03-18 19:56:57 -07:00
parent adaf322077
commit 09b326bc2f
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -371,7 +371,25 @@
categories = {
general = true;
test = false;
};
extra = {
vue-ls-path = "${pkgs.lib.getExe pkgs.vue-language-server}";
};
};
testNvim = {
pkgs,
# mkNvimPlugin,
...
}: {
settings = {
wrapRc = false;
unwrappedCfgPath = "/home/marley/hackin/marleyvim";
neovim-unwrapped = inputs.neovim-nightly-overlay.packages.${pkgs.system}.neovim;
};
categories = {
general = true;
};
extra = {
vue-ls-path = "${pkgs.lib.getExe pkgs.vue-language-server}";
@ -390,11 +408,11 @@
categoryDefinitions
packageDefinitions;
defaultPackage = nixCatsBuilder defaultPackageName;
nvimPackage = nixCatsBuilder "testNvim";
pkgs = import nixpkgs {inherit system;};
in {
packages =
(utils.mkAllWithDefault defaultPackage)
(utils.mkAllWithDefault nvimPackage)
// {
devenv-up = self.devShells.${system}.default.config.procfileScript;
devenv-test = self.devShells.${system}.default.config.test;
@ -411,7 +429,7 @@
# }:
_: {
packages = [
defaultPackage
nvimPackage
];
pre-commit.hooks = {