fix(third_party/crate2nix): run tests in debug mode
Behave like `cargo test` rather than `cargo test --release`. Change-Id: Ie013d04ac68d7dec2a3b870fa9f0060a70a9635d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9621 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
d94749ac22
commit
d38e6502ad
3 changed files with 18 additions and 0 deletions
5
third_party/overlays/tvl.nix
vendored
5
third_party/overlays/tvl.nix
vendored
|
|
@ -120,6 +120,11 @@ depot.nix.readTree.drvTargets {
|
|||
hash = "sha256-eFT2SUxTopxEvW0rcxSjQU6nbrQLI2FbyaVgtV8oiTk=";
|
||||
};
|
||||
|
||||
patches = old.patches ++ [
|
||||
# run tests in debug mode, not release mode
|
||||
./patches/crate2nix-tests-debug.patch
|
||||
];
|
||||
|
||||
cargoDeps = old.cargoDeps.overrideAttrs (_: {
|
||||
inherit src;
|
||||
outputHash = "sha256-elEIWHxyY3iccprIcbQA6GWFiq/n5kozpGfw/OmoSIg=";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue