Merge pull request #94025 from r-ryantm/auto-update/linuxkit

linuxkit: 0.7 -> 0.8
This commit is contained in:
Mario Rodas 2020-07-28 12:49:36 -05:00 committed by GitHub
commit 2ea37a0fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "linuxkit"; pname = "linuxkit";
version = "0.7"; version = "0.8";
goPackagePath = "github.com/linuxkit/linuxkit"; goPackagePath = "github.com/linuxkit/linuxkit";
@ -10,14 +10,12 @@ buildGoPackage rec {
owner = "linuxkit"; owner = "linuxkit";
repo = "linuxkit"; repo = "linuxkit";
rev = "v${version}"; rev = "v${version}";
sha256 = "1mnaqzd4r0fdgjhjvbi4p0wwvz69i82b33iizz81wvkr1mkakgl2"; sha256 = "15jj60k8wz9cahjbdscnwyyfb1k1grjh7yrilb1cj4r8mby4sp2g";
}; };
subPackages = [ "src/cmd/linuxkit" ]; subPackages = [ "src/cmd/linuxkit" ];
preBuild = '' buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/src/cmd/linuxkit/version.GitCommit=${src.rev} -X ${goPackagePath}/src/cmd/linuxkit/version.Version=${version}" ];
buildFlagsArray+=("-ldflags" "-X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.Version=${src.rev}")
'';
meta = with lib; { meta = with lib; {
description = "A toolkit for building secure, portable and lean operating systems for containers"; description = "A toolkit for building secure, portable and lean operating systems for containers";