gvisor: 20221102.1 -> 20231113.0
Also, unbreak on go >= 1.21
This commit is contained in:
parent
33576fdfce
commit
d9b470bd0b
1 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
{ lib
|
||||
, nixosTests
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, iproute2
|
||||
|
@ -7,9 +8,9 @@
|
|||
, procps
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule {
|
||||
pname = "gvisor";
|
||||
version = "20221102.1";
|
||||
version = "20231113.0";
|
||||
|
||||
# gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
|
||||
# that can be used to build gvisor without bazel.
|
||||
|
@ -18,11 +19,11 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "gvisor";
|
||||
rev = "bf8eeee3a9eb966bc72c773da060a3c8bb73b8ff";
|
||||
sha256 = "sha256-rADQsJ+AnBVlfQURGJl1xR6Ad5NyRWSrBSpOFMRld+o=";
|
||||
rev = "cdaf5c462c4040ed4cc88989e43f7d373acb9d24";
|
||||
hash = "sha256-9d2AJXoGFRCSM6900gOBxNBgL6nxXqz/pPan5EeEdsI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-iGLWxx/Kn1QaJTNOZcc+mwoF3ecEDOkaqmA0DH4pdgU=";
|
||||
vendorHash = "sha256-QdsVELNcIVsZv2gA05YgQfMZ6hmnfN2GGqW6r+mHqbs=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
@ -39,6 +40,8 @@ buildGoModule rec {
|
|||
mv $out/bin/shim $out/bin/containerd-shim-runsc-v1
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) gvisor; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Application Kernel for Containers";
|
||||
homepage = "https://github.com/google/gvisor";
|
||||
|
|
Loading…
Reference in a new issue