Jalil David Salamé Messina
e26eceb10c
All checks were successful
/ check (push) Successful in 39s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
This surfaced an issue with `bundleLSPs = false`
79 lines
2.4 KiB
Nix
79 lines
2.4 KiB
Nix
{ inputs, lib, ... }:
|
|
{
|
|
flake.overlays.nixvim = inputs.nixvim.overlays.default;
|
|
|
|
perSystem =
|
|
{ pkgs, system, ... }:
|
|
let
|
|
nixvimLib = inputs.nixvim.lib.${system};
|
|
nixvim = inputs.nixvim.legacyPackages.${system};
|
|
moduleDev = {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit (inputs) unstable;
|
|
inherit system;
|
|
};
|
|
module = import ../nvim/standalone.nix { standalone = true; };
|
|
};
|
|
moduleHeadless = {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit (inputs) unstable;
|
|
inherit system;
|
|
};
|
|
module = {
|
|
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
|
|
config.jhome.nvim.dev.enable = false;
|
|
};
|
|
};
|
|
moduleNoLsp = {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit (inputs) unstable;
|
|
inherit system;
|
|
};
|
|
module = {
|
|
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
|
|
config.jhome.nvim.dev.bundleLSPs = false;
|
|
};
|
|
};
|
|
moduleNoTSGrammars = {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit (inputs) unstable;
|
|
inherit system;
|
|
};
|
|
module = {
|
|
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
|
|
config.jhome.nvim.dev.bundleGrammars = false;
|
|
};
|
|
};
|
|
moduleNoBundledBins = {
|
|
inherit pkgs;
|
|
extraSpecialArgs = {
|
|
inherit (inputs) unstable;
|
|
inherit system;
|
|
};
|
|
module = {
|
|
imports = [ (import ../nvim/standalone.nix { standalone = true; }) ];
|
|
config.jhome.nvim.dev = {
|
|
bundleLSPs = false;
|
|
bundleGrammars = false;
|
|
};
|
|
};
|
|
};
|
|
in
|
|
{
|
|
# Check standalone nvim build
|
|
checks = {
|
|
nvimDev = nixvimLib.check.mkTestDerivationFromNixvimModule moduleDev;
|
|
nvimHeadless = nixvimLib.check.mkTestDerivationFromNixvimModule moduleHeadless;
|
|
nvimNoLsp = nixvimLib.check.mkTestDerivationFromNixvimModule moduleNoLsp;
|
|
nvimNoTSGrammars = nixvimLib.check.mkTestDerivationFromNixvimModule moduleNoTSGrammars;
|
|
nvimNoBundledBins = nixvimLib.check.mkTestDerivationFromNixvimModule moduleNoBundledBins;
|
|
};
|
|
|
|
# Nvim standalone module
|
|
packages.nvim = nixvim.makeNixvimWithModule moduleDev;
|
|
};
|
|
}
|