diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-05-13 22:19:16 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-05-13 22:19:16 +0200 |
commit | e49f3a47604b2c18ac2e0aa9afe7bf786d61e34b (patch) | |
tree | 534e54638235fa3a35a451d375b62dd19ac4fb9c /pkgs/applications/networking/nym | |
parent | 0d7f889607e97c73a3b73ff79311c4fd8cc72aab (diff) |
nym: fix tests
A lot of tests are using `debug_assert!` which isn't available in release-mode.
Diffstat (limited to 'pkgs/applications/networking/nym')
-rw-r--r-- | pkgs/applications/networking/nym/default.nix | 2 |
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. |