kubernetes-helm: use src.rev

This commit is contained in:
zowoq 2022-08-16 15:40:50 +10:00
parent b525a2289d
commit 86beff8c1e

View file

@ -3,7 +3,6 @@
buildGoModule rec { buildGoModule rec {
pname = "kubernetes-helm"; pname = "kubernetes-helm";
version = "3.9.3"; version = "3.9.3";
gitCommit = "a7c043acb5ff905c261cfdc923a35776ba5e66e4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "helm"; owner = "helm";
@ -18,7 +17,7 @@ buildGoModule rec {
"-w" "-w"
"-s" "-s"
"-X helm.sh/helm/v3/internal/version.version=v${version}" "-X helm.sh/helm/v3/internal/version.version=v${version}"
"-X helm.sh/helm/v3/internal/version.gitCommit=${gitCommit}" "-X helm.sh/helm/v3/internal/version.gitCommit=${src.rev}"
]; ];
preCheck = '' preCheck = ''