fix(third_party/nixpkgs/crate2nix): reintroduce tests in debug patch

This is was dropped accidentially, but we actually want to run tests in
debug mode, to check for overflows.

Change-Id: Ic0cf2d4a263bfd71f3453ed335d8be9dacd945e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10932
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Florian Klink 2024-02-16 17:41:44 +07:00 committed by clbot
parent d20a97ccb8
commit 8b06566d43
3 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff --git a/templates/nix/crate2nix/default.nix b/templates/nix/crate2nix/default.nix
index 4eefda8..d064118 100644
--- a/templates/nix/crate2nix/default.nix
+++ b/templates/nix/crate2nix/default.nix
@@ -111,6 +111,7 @@ rec {
(
_: {
buildTests = true;
+ release = false;
}
);
# If the user hasn't set any pre/post commands, we don't want to