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:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user