Merge pull request #94131 from marsam/update-buildkit

buildkit: 0.7.1 -> 0.7.2
This commit is contained in:
Mario Rodas 2020-07-29 05:20:15 -05:00 committed by GitHub
commit 24cd23aa30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "buildkit"; pname = "buildkit";
version = "0.7.1"; version = "0.7.2";
goPackagePath = "github.com/moby/buildkit"; goPackagePath = "github.com/moby/buildkit";
subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ]; subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ];
@ -11,10 +11,10 @@ buildGoPackage rec {
owner = "moby"; owner = "moby";
repo = "buildkit"; repo = "buildkit";
rev = "v${version}"; rev = "v${version}";
sha256 = "048h69ffgmpir2ix9ldi6zrzlwxa5yz3idg5ajspz2dihmzmnwws"; sha256 = "0kn2ad0rh3xlcxjxslkyrfxhv3cx88996nhxn86605x1mybxb2iq";
}; };
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version}" ]; buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version} -X ${goPackagePath}/version.Revision=${src.rev}" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit"; description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit";