jujutsu: don’t build crates without tests in checkPhase

This commit is contained in:
Emily 2024-09-04 20:51:44 +01:00
parent b91e47c585
commit f3c1982606

View File

@ -68,6 +68,14 @@ rustPlatform.buildRustPackage {
useNextest = true;
cargoTestFlags = [
# Dont build the `gen-protos` build tool when running tests.
"-p"
"jj-lib"
"-p"
"jj-cli"
];
env = {
# Disable vendored libraries.
ZSTD_SYS_USE_PKG_CONFIG = "1";