mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
gh: enable tests
This commit is contained in:
parent
64b79a2767
commit
c7deb49058
@ -1,4 +1,9 @@
|
|||||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildGoModule
|
||||||
|
, installShellFiles
|
||||||
|
, git
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gh";
|
pname = "gh";
|
||||||
@ -30,8 +35,10 @@ buildGoModule rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fails with `unable to find git executable in PATH`
|
checkInputs = [ git ];
|
||||||
doCheck = false;
|
checkPhase = ''
|
||||||
|
make test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GitHub CLI tool";
|
description = "GitHub CLI tool";
|
||||||
|
Loading…
Reference in New Issue
Block a user