Skip to content

Commit ec63fab

Browse files
committed
gitAndTools.gh: 0.12.0 -> 1.0.0
https://github.com/cli/cli/releases/tag/v1.0.0
1 parent f61b2ea commit ec63fab

File tree

1 file changed

+4
-3
lines changed
  • pkgs/applications/version-management/git-and-tools/gh

1 file changed

+4
-3
lines changed

pkgs/applications/version-management/git-and-tools/gh/default.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22

33
buildGoModule rec {
44
pname = "gh";
5-
version = "0.12.0";
5+
version = "1.0.0";
66

77
src = fetchFromGitHub {
88
owner = "cli";
99
repo = "cli";
1010
rev = "v${version}";
11-
sha256 = "1nwpqwr8sqqpndj7qsk935i1675f4qdbl31x60a038l9iiwc28x1";
11+
sha256 = "10ixjrb56ddqxla7mfxqnf74zissjx66akcyvgl9xfmww0bvg64x";
1212
};
1313

14-
vendorSha256 = "1m5ahzh5sfla3p6hllr7wjigvrnccdvrsdjpxd2hy0rl7jsrp85m";
14+
vendorSha256 = "079zbm57xfcskwhsfj1x0c0lg6ip6c6dbk8hfwrzkpy8gfs2ysmr";
1515

1616
nativeBuildInputs = [ installShellFiles ];
1717

1818
buildPhase = ''
19+
export GO_LDFLAGS="-s -w"
1920
make GH_VERSION=${version} bin/gh manpages
2021
'';
2122

0 commit comments

Comments
 (0)