about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-04-16 04:33:21 +0200
committerGitHub <noreply@github.com>2022-04-16 04:33:21 +0200
commit75ad56bdc927f3a9f9e05e3c3614c4c1fcd99fcb (patch)
tree857eefc2997997e08336e58f46fd42b7b8ad0a7e /pkgs/tools
parent51e1881ea938a76778581884856c4d4e45876c46 (diff)
parentae10b8d024ad669a2812e96e9d8c1578ed4904ff (diff)
Merge pull request #168498 from superherointj/package-wormhole-william-enable-tests
wormhole-william: enable tests
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/wormhole-william/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/networking/wormhole-william/default.nix b/pkgs/tools/networking/wormhole-william/default.nix
index 157119e647502..95d77f7402c70 100644
--- a/pkgs/tools/networking/wormhole-william/default.nix
+++ b/pkgs/tools/networking/wormhole-william/default.nix
@@ -13,7 +13,12 @@ buildGoModule rec {
 
   vendorSha256 = "sha256-J6iht3cagcwFekydShgaYJtkNLfEvSDqonkC7+frldM=";
 
-  doCheck = false;
+  preCheck = ''
+    # wormhole_test.go:692: failed to establish connection
+    substituteInPlace wormhole/wormhole_test.go \
+      --replace "TestWormholeDirectoryTransportSendRecvDirect" \
+                "SkipWormholeDirectoryTransportSendRecvDirect"
+  '';
 
   meta = with lib; {
     homepage = "https://github.com/psanford/wormhole-william";