mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
jujutsu: don’t build crates without tests in checkPhase
This commit is contained in:
parent
b91e47c585
commit
f3c1982606
@ -68,6 +68,14 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
useNextest = true;
|
||||
|
||||
cargoTestFlags = [
|
||||
# Don’t 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";
|
||||
|
Loading…
Reference in New Issue
Block a user