From a7dda29d8aba00517d98d5c964dab280315c2345 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Tue, 26 Jan 2021 07:26:59 +1000 Subject: [PATCH] Revert "gh: enable tests" This reverts commit c7deb49058baaeeba60065e62487476a7f35724c. Fails with sandboxing. --- .../version-management/git-and-tools/gh/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/gh/default.nix b/pkgs/applications/version-management/git-and-tools/gh/default.nix index 7c61c3329b2..38413f990a0 100644 --- a/pkgs/applications/version-management/git-and-tools/gh/default.nix +++ b/pkgs/applications/version-management/git-and-tools/gh/default.nix @@ -1,9 +1,4 @@ -{ lib -, fetchFromGitHub -, buildGoModule -, installShellFiles -, git -}: +{ lib, fetchFromGitHub, buildGoModule, installShellFiles }: buildGoModule rec { pname = "gh"; @@ -35,10 +30,8 @@ buildGoModule rec { done ''; - checkInputs = [ git ]; - checkPhase = '' - make test - ''; + # fails with `unable to find git executable in PATH` + doCheck = false; meta = with lib; { description = "GitHub CLI tool";