tests/lsp-servers: disable tests impacted by broken _7zz on x86_64-linux

This commit is contained in:
Gaetan Lepage 2024-11-03 12:32:45 +01:00
parent e3733a2f27
commit 38dd5b07a0
4 changed files with 33 additions and 2 deletions

View file

@ -46,6 +46,13 @@ let
# Broken
"scheme_langserver"
]
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "x86_64-linux") [
# Those LSP servers depend on pkgs._7zz which is broken as of 2024-11-03
# Re-enable when https://github.com/NixOS/nixpkgs/pull/353272 lands on `nixos-unstable`
"phpactor"
"psalm"
"phan"
]
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "aarch64-linux") [
# Binary package not available for this architecture
"starpls"

View file

@ -144,6 +144,15 @@
# As of 2024-11-03, graalvm-ce (dependency of clj-kondo) is broken on x86_64-darwin
"clj_kondo"
])
++ (lib.optionals (pkgs.stdenv.isLinux && pkgs.stdenv.isx86_64) [
# TODO: phpPackages.php-cs-fixer is unavailable because its dependency _7zz is broken (as of 2024-11-03)
# Re-enable when https://github.com/NixOS/nixpkgs/pull/353272 lands on `nixos-unstable`
"phpcbf"
"phpcs"
"phpcsfixer"
"phpmd"
"phpstan"
])
++ (lib.optionals pkgs.stdenv.isAarch64 [
"semgrep"
"smlfmt"

View file

@ -1,11 +1,16 @@
{ pkgs, ... }:
{
empty = {
plugins.yazi.enable = true;
# TODO: pkgs.yazi is unavailable because its dependency _7zz is broken (as of 2024-11-03)
# Re-enable when https://github.com/NixOS/nixpkgs/pull/353272 lands on `nixos-unstable`
plugins.yazi.enable = pkgs.stdenv.hostPlatform.system != "x86_64-linux";
};
defaults = {
plugins.yazi = {
enable = true;
# TODO: pkgs.yazi is unavailable because its dependency _7zz is broken (as of 2024-11-03)
# Re-enable when https://github.com/NixOS/nixpkgs/pull/353272 lands on `nixos-unstable`
enable = pkgs.stdenv.hostPlatform.system != "x86_64-linux";
settings = {
log_level = "off";

View file

@ -32,6 +32,16 @@
# re-enable after fixed
"dmd"
]
++ lib.optionals (system == "x86_64-linux") [
# TODO: phpPackages.php-cs-fixer is unavailable because its dependency _7zz is broken (as of 2024-11-03)
# Re-enable when https://github.com/NixOS/nixpkgs/pull/353272 lands on `nixos-unstable`
"phan"
"phpcbf"
"phpcs"
"php_cs_fixer"
"phpstan"
"psalm"
]
++ lib.optionals (system == "aarch64-linux") [
# Broken as of 2024-07-13
# TODO: re-enable this tests when fixed