starpls: don't build xtask

The xtask build helper leaks into $out/bin. Restrict the build to the starpls crate so only the language server is produced.
This commit is contained in:
Khushal Agrawal
2026-06-21 13:47:07 +05:30
parent a7ef34422d
commit e0dedcf0db
+4
View File
@@ -18,6 +18,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-5xYfQRm7U7sEQiJEfjaLznoXUxHsxnLmIEA/OxTkjFg=";
# Only build the starpls language server, not the xtask build helper, which
# would otherwise leak into $out/bin.
cargoBuildFlags = [ "-p starpls" ];
nativeBuildInputs = [
protobuf
];