Skip to content

Commit

Permalink
tests/lsp-servers: disable lua-language-server on aarch64-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 10, 2024
1 parent daaf281 commit 432af78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions tests/lsp-servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/test-sources/plugins/lsp/language-servers/lua-ls.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 432af78

Please sign in to comment.