tests: Install all efmls-configs tools (#709)

This requires to pass the efmls-configs file to the derivation helpers,
if we try to import it from the test file directly it fails.

We then look into the types to find the available languages &
corresponding tools, to enable them all.

We then filter out the broken tools or the unpackaged tools, in order to
detect more easily the introduction of future tools.
This commit is contained in:
traxys 2023-11-17 12:17:13 +01:00 committed by GitHub
parent fbe5169271
commit 1b44fe37a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 67 additions and 2 deletions

View file

@ -44,7 +44,13 @@
then args
else {
# cases is a function
cases = cases {inherit pkgs helpers;};
cases = cases {
inherit pkgs helpers;
efmls-options = import ../plugins/lsp/language-servers/efmls-configs.nix {
inherit pkgs lib helpers;
config = {};
};
};
inherit namespace;
})
testsList;