diff options
author | Drew Risinger <drewrisinger@users.noreply.github.com> | 2021-01-22 09:10:47 -0500 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-01-23 00:48:39 +1000 |
commit | c7deb49058baaeeba60065e62487476a7f35724c (patch) | |
tree | 489f0aa3fae91196d79d1fd196b86d737fff1414 /pkgs/applications/version-management/git-and-tools | |
parent | 64b79a2767534d745d631f0b68b6f8255ba4d267 (diff) |
gh: enable tests
Diffstat (limited to 'pkgs/applications/version-management/git-and-tools')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/gh/default.nix | 13 |
1 files changed, 10 insertions, 3 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 38413f990a014..7c61c3329b20d 100644 --- a/pkgs/applications/version-management/git-and-tools/gh/default.nix +++ b/pkgs/applications/version-management/git-and-tools/gh/default.nix @@ -1,4 +1,9 @@ -{ lib, fetchFromGitHub, buildGoModule, installShellFiles }: +{ lib +, fetchFromGitHub +, buildGoModule +, installShellFiles +, git +}: buildGoModule rec { pname = "gh"; @@ -30,8 +35,10 @@ buildGoModule rec { done ''; - # fails with `unable to find git executable in PATH` - doCheck = false; + checkInputs = [ git ]; + checkPhase = '' + make test + ''; meta = with lib; { description = "GitHub CLI tool"; |