harper: only build harper-ls

From @elijah-potter:

`harper-cli` is a debugging tool for us. It shouldn't be published at all.

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2025-02-11 10:47:04 -07:00
parent dfa0e17327
commit 8daeb3ce94
+6 -2
View File
@@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-8JeF1HxsP+Y+C1g3YJ0B0+JHoRFkBjz4/T8rVr2KgGw=";
};
buildAndTestSubdir = "harper-ls";
useFetchCargoVendor = true;
cargoHash = "sha256-uVjDFo5mJi4Xbq0Z+XOjy5VqXqkm0a+4xu+dVnjWXCU=";
@@ -23,7 +24,10 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Automattic/harper";
changelog = "https://github.com/Automattic/harper/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ pbsds ];
mainProgram = "harper-cli";
maintainers = with lib.maintainers; [
pbsds
sumnerevans
];
mainProgram = "harper-ls";
};
}