From e49f3a47604b2c18ac2e0aa9afe7bf786d61e34b Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 13 May 2020 22:19:16 +0200 Subject: nym: fix tests A lot of tests are using `debug_assert!` which isn't available in release-mode. --- pkgs/applications/networking/nym/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications/networking/nym') 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. -- cgit 1.4.1