Add host-configurable LSP server
This commit is contained in:
+4
-1
@@ -24,7 +24,7 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "decodal";
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
|
||||
src = lib.cleanSourceWith {
|
||||
src = srcRoot;
|
||||
@@ -38,6 +38,8 @@ rustPlatform.buildRustPackage {
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
"decodal-cli"
|
||||
"-p"
|
||||
"decodal-lsp"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
@@ -45,6 +47,7 @@ rustPlatform.buildRustPackage {
|
||||
runHook preInstallCheck
|
||||
|
||||
test -x "$out/bin/decodal"
|
||||
test -x "$out/bin/decodal-lsp"
|
||||
"$out/bin/decodal" >/dev/null
|
||||
|
||||
runHook postInstallCheck
|
||||
|
||||
Reference in New Issue
Block a user