Just build module flag combinations, omit run test
This commit is contained in:
parent
991d10dc55
commit
5f7f3b9386
1 changed files with 11 additions and 10 deletions
21
checks.nix
21
checks.nix
|
|
@ -62,6 +62,7 @@ let
|
||||||
tmux kill-session -t doom-testing
|
tmux kill-session -t doom-testing
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
doomBuildTest = init: mkDoom { doomDir = mkDoomDir init; };
|
||||||
in {
|
in {
|
||||||
minimal = mkDoom { doomDir = minimalDoomDir; };
|
minimal = mkDoom { doomDir = minimalDoomDir; };
|
||||||
minimalEmacs = (makeDoomPackages (common // {
|
minimalEmacs = (makeDoomPackages (common // {
|
||||||
|
|
@ -91,23 +92,23 @@ in {
|
||||||
unpinned-org = doomTest "external-org" { app.rss = [ "+org" ]; } { };
|
unpinned-org = doomTest "external-org" { app.rss = [ "+org" ]; } { };
|
||||||
# Dependencies that require a module flag enabled and a different module or flag disabled.
|
# Dependencies that require a module flag enabled and a different module or flag disabled.
|
||||||
# flycheck-eglot needs flymake disabled.
|
# flycheck-eglot needs flymake disabled.
|
||||||
flycheck-eglot = doomTest "nix-profile" { tools.lsp = [ "+eglot" ]; checkers.syntax = true; } { };
|
flycheck-eglot = doomBuildTest { tools.lsp = [ "+eglot" ]; checkers.syntax = true; };
|
||||||
# lsp-python-ms needs +pyright disabled.
|
# lsp-python-ms needs +pyright disabled.
|
||||||
lsp-python-ms = doomTest "nix-profile" { lang.python = [ "+lsp" ]; tools.lsp = true; } { };
|
lsp-python-ms = doomBuildTest { lang.python = [ "+lsp" ]; tools.lsp = true; };
|
||||||
# roam2 needs +roam disabled.
|
# roam2 needs +roam disabled.
|
||||||
org-roam2 = doomTest "nix-profile" { lang.org = [ "+roam2" ]; } { };
|
org-roam2 = doomBuildTest { lang.org = [ "+roam2" ]; };
|
||||||
# nerd-icons-dired needs +dirvish disabled.
|
# nerd-icons-dired needs +dirvish disabled.
|
||||||
nerd-icons-dired = doomTest "nix-profile" { emacs.dired = [ "+icons" ]; } { };
|
nerd-icons-dired = doomBuildTest { emacs.dired = [ "+icons" ]; };
|
||||||
# multiple-cursors needs :editor evil disabled.
|
# multiple-cursors needs :editor evil disabled.
|
||||||
multiple-cursors = doomTest "nix-profile" { editor.multiple-cursors = true; } { };
|
multiple-cursors = doomBuildTest { editor.multiple-cursors = true; };
|
||||||
# flx needs +prescient disabled.
|
# flx needs +prescient disabled.
|
||||||
flx = doomTest "nix-profile" { completion.ivy = [ "+fuzzy" ]; } { };
|
flx = doomBuildTest { completion.ivy = [ "+fuzzy" ]; };
|
||||||
# corfu pulls in unpinned orderless if vertico is disabled.
|
# corfu pulls in unpinned orderless if vertico is disabled.
|
||||||
corfu-orderless = doomTest "nix-profile" { completion.corfu = [ "+orderless" ]; } { };
|
corfu-orderless = doomBuildTest { completion.corfu = [ "+orderless" ]; };
|
||||||
# flyspell can pull in one of three completion modules.
|
# flyspell can pull in one of three completion modules.
|
||||||
flyspell-correct-ivy = doomTest "nix-profile" { checkers.spell = [ "+flyspell" ]; completion.ivy = true; } { };
|
flyspell-correct-ivy = doomBuildTest { checkers.spell = [ "+flyspell" ]; completion.ivy = true; };
|
||||||
flyspell-correct-helm = doomTest "nix-profile" { checkers.spell = [ "+flyspell" ]; completion.helm = true; } { };
|
flyspell-correct-helm = doomBuildTest { checkers.spell = [ "+flyspell" ]; completion.helm = true; };
|
||||||
flyspell-correct-popup = doomTest "nix-profile" { checkers.spell = [ "+flyspell" ]; } { };
|
flyspell-correct-popup = doomBuildTest { checkers.spell = [ "+flyspell" ]; };
|
||||||
|
|
||||||
extraPackages = doomTest "extraPackages" { config.default = true; } { extraPackages = epkgs: [ epkgs.vterm ]; };
|
extraPackages = doomTest "extraPackages" { config.default = true; } { extraPackages = epkgs: [ epkgs.vterm ]; };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue