tests: move away from string comparisons with stdenv.hostPlatform

This commit is contained in:
Gaetan Lepage 2025-04-21 12:12:00 +02:00 committed by nix-infra-bot
parent d3c9dedbdd
commit 75efaa0a97
2 changed files with 22 additions and 14 deletions

View file

@ -36,6 +36,8 @@ let
...
}:
let
inherit (pkgs.stdenv) hostPlatform;
disabled =
[
# DEPRECATED SERVERS
@ -44,7 +46,7 @@ let
"bufls"
"typst_lsp"
]
++ lib.optionals (pkgs.stdenv.hostPlatform.system == "aarch64-linux") [
++ lib.optionals (hostPlatform.isLinux && hostPlatform.isAarch64) [
# pkgs.vectorcode is not available on this platform
"vectorcode_server"