flake: build with -Dexclude-lsp=true (#88)

This commit is contained in:
Jari Vetoniemi 2026-03-23 15:46:03 +09:00 committed by GitHub
parent b0f3bbbcfe
commit c845a67d78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@
text = ''
tmp="$(mktemp -d)"
trap 'rm -rf "$tmp"' EXIT
(cd "${src}" && ZIG_LOCAL_CACHE_DIR="$tmp" zig build -p "$tmp" -Doptimize=Debug)
(cd "${src}" && ZIG_LOCAL_CACHE_DIR="$tmp" zig build -p "$tmp" -Doptimize=Debug -Dexclude-lsp=true)
"$tmp/bin/zx" "$@"
'';
}) + "/bin/zx";