diff options
author | edef <edef@edef.eu> | 2023-10-10T19·56+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2023-10-10T20·33+0000 |
commit | d38e6502adf9a3429a392c2f6ad9c787853d31c1 (patch) | |
tree | dd89bef5e63df1befaba4cf2c7638f5c04121419 /third_party/overlays/tvl.nix | |
parent | d94749ac220cb8f35d063a02579b9eadf73b5cf2 (diff) |
fix(third_party/crate2nix): run tests in debug mode r/6775
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
Diffstat (limited to 'third_party/overlays/tvl.nix')
-rw-r--r-- | third_party/overlays/tvl.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index c88bd4d74176..4dfd72eceb6f 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -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="; |