summaryrefslogtreecommitdiff
path: root/nix/devShell.nix
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2024-04-11 05:30:06 -0700
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2024-04-11 05:30:20 -0700
commitc5496b89eec26d11fedcbe3df36fe067d36a548e (patch)
tree5c35064e02f20ad5bf00cafb2df612a06efbf42c /nix/devShell.nix
parenta198cc300ed3fc6d710074a3189af610668c75c6 (diff)
nix: do not build ZLS on linux aarch64, see comment
Diffstat (limited to 'nix/devShell.nix')
-rw-r--r--nix/devShell.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nix/devShell.nix b/nix/devShell.nix
index e36a2f873..c645acfac 100644
--- a/nix/devShell.nix
+++ b/nix/devShell.nix
@@ -88,7 +88,6 @@ in
scdoc
zig
zip
- zls
# For web and wasm stuff
nodejs
@@ -108,6 +107,11 @@ in
wabt
wasmtime
]
+ ++ lib.optionals (!(stdenv.isLinux && stdenv.isAarch64)) [
+ # This is currently broken on aarch64 linux. Once this is
+ # fixed we can remove this conditional.
+ zls
+ ]
++ lib.optionals stdenv.isLinux [
# My nix shell environment installs the non-interactive version
# by default so we have to include this.