about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-05-13 22:19:16 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-05-13 22:19:16 +0200
commite49f3a47604b2c18ac2e0aa9afe7bf786d61e34b (patch)
tree534e54638235fa3a35a451d375b62dd19ac4fb9c
parent0d7f889607e97c73a3b73ff79311c4fd8cc72aab (diff)
nym: fix tests
A lot of tests are using `debug_assert!` which isn't available in
release-mode.
-rw-r--r--pkgs/applications/networking/nym/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/nym/default.nix b/pkgs/applications/networking/nym/default.nix
index 6bb86c016ba38..1ff449eab0cc5 100644
--- a/pkgs/applications/networking/nym/default.nix
+++ b/pkgs/applications/networking/nym/default.nix
@@ -24,6 +24,8 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [ openssl ];
 
+  checkType = "debug";
+
   /*
   Nym's test presence::converting_mixnode_presence_into_topology_mixnode::it_returns_resolved_ip_on_resolvable_hostname tries to resolve nymtech.net.
   Since there is no external DNS resolution available in the build sandbox, we point cargo and its children (that's what we remove the 'unsetenv' call for) to a hosts file in which we statically resolve nymtech.net.