home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit d79b039b20625fd7fb28b036499ced1fef838410
parent 5c28c74b95be38f055098e53a8dc736983cc3e13
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 16 Oct 2018 19:27:18 +0200

pkgs: fix skaffold version

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mpkgs/skaffold/default.nix | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/pkgs/skaffold/default.nix b/pkgs/skaffold/default.nix @@ -3,15 +3,23 @@ buildGoPackage rec { name = "skaffold-${version}"; version = "0.16.0"; - rev = "v${version}"; + # rev is the 0.16.0 commit, mainly for skaffold version command output + rev = "78e443973ee7475ee66d227431596351cf5e2caf"; goPackagePath = "github.com/GoogleContainerTools/skaffold"; subPackages = ["cmd/skaffold"]; + buildFlagsArray = let t = "${goPackagePath}/pkg/skaffold"; in '' + -ldflags= + -X ${t}/version.version=v${version} + -X ${t}/version.gitCommit=${rev} + -X ${t}/version.buildDate=unknown + ''; + src = fetchFromGitHub { - inherit rev; owner = "GoogleContainerTools"; repo = "skaffold"; + rev = "v${version}"; sha256 = "0vpjxyqppyj4zs02n8b0k0qd8zidrrcks60x6qd5a4bbqa0c1zld"; };