From 62595afea705348c4fe25bb8bf8996bc03a75ed0 Mon Sep 17 00:00:00 2001 From: "Berk D. Demir" <11135+bdd@users.noreply.github.com> Date: Thu, 12 May 2022 20:38:10 -0700 Subject: [PATCH] certigo: disable test on Darwin-x86_64 (#172790) Partially reverts #167546. Hydra Darwin x86_64 tests have been failing since merge https://hydra.nixos.org/job/nixpkgs/trunk/certigo.x86_64-darwin ZHF: #172160 --- pkgs/tools/admin/certigo/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/admin/certigo/default.nix b/pkgs/tools/admin/certigo/default.nix index d31cb6a0ef6..541f23058ef 100644 --- a/pkgs/tools/admin/certigo/default.nix +++ b/pkgs/tools/admin/certigo/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, stdenv, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "certigo"; @@ -13,6 +13,11 @@ buildGoModule rec { vendorSha256 = "sha256-qS/tIi6umSuQcl43SI4LyL0k5eWfRWs7kVybRPGKcbs="; + # Go running under Hydra Darwin x86_64 picks CHAPOLY instead of AES-GCM as + # the default TLS ciphersuite, and breaks the arguably flakey `TestConnect` + # test. + doCheck = !(stdenv.isDarwin && stdenv.isx86_64); + meta = with lib; { description = "A utility to examine and validate certificates in a variety of formats"; homepage = "https://github.com/square/certigo";