From dbed75d12d0b78cdc7b486160648839a10ce0317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 25 May 2022 19:33:32 +0200 Subject: [PATCH] go-camo: remove tests which require network --- pkgs/servers/http/go-camo/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/servers/http/go-camo/default.nix b/pkgs/servers/http/go-camo/default.nix index 2d1e09aa2775..8a5351d7bf29 100644 --- a/pkgs/servers/http/go-camo/default.nix +++ b/pkgs/servers/http/go-camo/default.nix @@ -15,6 +15,11 @@ buildGoModule rec { ldflags = [ "-s" "-w" "-X=main.ServerVersion=${version}" ]; + preCheck = '' + # requires network access + rm pkg/camo/proxy_{,filter_}test.go + ''; + meta = with lib; { description = "A camo server is a special type of image proxy that proxies non-secure images over SSL/TLS"; homepage = "https://github.com/cactus/go-camo";