Skip to content

Commit

Permalink
tests/lsp-servers: disable tests impacted by broken _7zz on x86_64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 4, 2024
1 parent e3733a2 commit 38dd5b0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
7 changes: 7 additions & 0 deletions tests/lsp-servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 9 additions & 0 deletions tests/test-sources/plugins/by-name/none-ls/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 7 additions & 2 deletions tests/test-sources/plugins/by-name/yazi/default.nix
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
10 changes: 10 additions & 0 deletions tests/test-sources/plugins/lsp/efmls-configs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38dd5b0

Please sign in to comment.