tests/lsp-servers: disable lua-language-server on aarch64-darwin

This commit is contained in:
Gaetan Lepage 2024-11-10 23:18:47 +01:00
parent daaf281e15
commit 432af78ffd
2 changed files with 6 additions and 2 deletions

View file

@ -50,6 +50,10 @@ let
# TODO: 2024-10-05 build failure
"fstar"
]
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "aarch64-darwin") [
# TODO: 2024-11-10 fixed in https://github.com/NixOS/nixpkgs/pull/355032
"lua-language-server"
]
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "x86_64-darwin") [
# Binary package not available for this architecture
"starpls"

View file

@ -5,8 +5,8 @@
enable = true;
servers.lua_ls = {
# TODO: re-enable when x86_64-darwin build is stable
enable = pkgs.stdenv.isLinux || pkgs.stdenv.hostPlatform.isAarch64;
# TODO: 2024-11-10 fixed in https://github.com/NixOS/nixpkgs/pull/355032
enable = pkgs.stdenv.isLinux || pkgs.stdenv.hostPlatform.isx86_64;
settings = {
addonManager = {