build: Add testNvim to dev shell
This commit is contained in:
parent
adaf322077
commit
09b326bc2f
1 changed files with 22 additions and 4 deletions
26
flake.nix
26
flake.nix
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue