bws: build with `--package`

This commit is contained in:
Mario Rodas 2024-04-06 04:20:00 +00:00
parent 6ecf48c936
commit 1418413833
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@ rustPlatform.buildRustPackage rec {
RUSTONIG_SYSTEM_LIBONIG = true;
};
buildAndTestSubdir = "crates/bws";
cargoBuildFlags = [ "--package" "bws" ];
cargoTestFlags = [ "--package" "bws" ];
postInstall = ''
installShellCompletion --cmd bws \