about summary refs log tree commit diff
path: root/pkgs/applications/virtualization
diff options
context:
space:
mode:
authorMoritz Sanft <58110325+msanft@users.noreply.github.com>2024-04-07 23:14:54 +0200
committerMoritz Sanft <58110325+msanft@users.noreply.github.com>2024-04-07 23:14:54 +0200
commita9d1901115b47b532a249a37f33f3141cd952ee7 (patch)
tree95f7a1dad1f00c546a684c29fa40dfb6155eeaed /pkgs/applications/virtualization
parentbfa0e69c067b999ccab89fb15ef68d3dcff92dbf (diff)
gvisor: 20240311.0-unstable-2024-03-25 -> 20240401.0
Diffstat (limited to 'pkgs/applications/virtualization')
-rw-r--r--pkgs/applications/virtualization/gvisor/default.nix52
1 files changed, 0 insertions, 52 deletions
diff --git a/pkgs/applications/virtualization/gvisor/default.nix b/pkgs/applications/virtualization/gvisor/default.nix
deleted file mode 100644
index 0a1d737b2eed8..0000000000000
--- a/pkgs/applications/virtualization/gvisor/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ lib
-, nixosTests
-, buildGoModule
-, fetchFromGitHub
-, iproute2
-, iptables
-, makeWrapper
-, procps
-}:
-
-buildGoModule {
-  pname = "gvisor";
-  version = "20240311.0-unstable-2024-03-25";
-
-  # gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
-  # that can be used to build gvisor without bazel.
-  # For updates, you should stick to the commits labeled "Merge release-** (automated)"
-
-  src = fetchFromGitHub {
-    owner = "google";
-    repo = "gvisor";
-    rev = "b1e227737fd6e3bb3b11a403a1a5013bc89b3b60";
-    hash = "sha256-EfXzXkoEgtEerNMacRhbITCRig+t23WlIRya0BlJZcE=";
-  };
-
-  vendorHash = "sha256-jbMXeNXzvjfJcIfHjvf8I3ePjm6KFTXJ94ia4T2hUs4=";
-
-  nativeBuildInputs = [ makeWrapper ];
-
-  CGO_ENABLED = 0;
-
-  ldflags = [ "-s" "-w" ];
-
-  subPackages = [ "runsc" "shim" ];
-
-  postInstall = ''
-    # Needed for the 'runsc do' subcommand
-    wrapProgram $out/bin/runsc \
-      --prefix PATH : ${lib.makeBinPath [ iproute2 iptables procps ]}
-    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";
-    license = licenses.asl20;
-    maintainers = with maintainers; [ andrew-d gpl ];
-    platforms = [ "x86_64-linux" ];
-  };
-}