Merge pull request #94025 from r-ryantm/auto-update/linuxkit
linuxkit: 0.7 -> 0.8
This commit is contained in:
commit
2ea37a0fe6
1 changed files with 3 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
buildGoPackage rec {
|
||||
pname = "linuxkit";
|
||||
version = "0.7";
|
||||
version = "0.8";
|
||||
|
||||
goPackagePath = "github.com/linuxkit/linuxkit";
|
||||
|
||||
|
@ -10,14 +10,12 @@ buildGoPackage rec {
|
|||
owner = "linuxkit";
|
||||
repo = "linuxkit";
|
||||
rev = "v${version}";
|
||||
sha256 = "1mnaqzd4r0fdgjhjvbi4p0wwvz69i82b33iizz81wvkr1mkakgl2";
|
||||
sha256 = "15jj60k8wz9cahjbdscnwyyfb1k1grjh7yrilb1cj4r8mby4sp2g";
|
||||
};
|
||||
|
||||
subPackages = [ "src/cmd/linuxkit" ];
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.Version=${src.rev}")
|
||||
'';
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/src/cmd/linuxkit/version.GitCommit=${src.rev} -X ${goPackagePath}/src/cmd/linuxkit/version.Version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A toolkit for building secure, portable and lean operating systems for containers";
|
||||
|
|
Loading…
Reference in a new issue