mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
Merge pull request #94025 from r-ryantm/auto-update/linuxkit
linuxkit: 0.7 -> 0.8
This commit is contained in:
commit
2ea37a0fe6
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user