about summary refs log tree commit diff
path: root/third_party/nix-snapshotter
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-09-13T16·21+0300
committerclbot <clbot@tvl.fyi>2023-10-09T14·13+0000
commit1dcd6ea6428ead0376ac202e58fbce155efc9e77 (patch)
tree41b6341c2f080621ceb93286a82891d2f66fca90 /third_party/nix-snapshotter
parent4797a3fd8ac644d6550d65a521a3243f38f779d6 (diff)
feat(3p): import build of nix-snapshotter r/6749
Change-Id: I8e50d4941c151a8a7c006441b2f8f951219dc3e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9327
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix-snapshotter')
-rw-r--r--third_party/nix-snapshotter/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/nix-snapshotter/default.nix b/third_party/nix-snapshotter/default.nix
new file mode 100644
index 0000000000..58b30af25b
--- /dev/null
+++ b/third_party/nix-snapshotter/default.nix
@@ -0,0 +1,13 @@
+# Imports the stable Nix build definitions for nix-snapshotter, a
+# plugin to bring native support for Nix images to containerd
+{ lib, pkgs, ... }:
+
+let
+  src = pkgs.fetchFromGitHub {
+    owner = "pdtpartners";
+    repo = "nix-snapshotter";
+    sha256 = "11sfy3kf046p8kacp7yh8ijjpp6php6q8wxlbya1v5q53h3980v1";
+    rev = "6eb21bd3429535646da4aa396bb0c1f81a9b72c6";
+  };
+in
+pkgs.callPackage "${src}/package.nix" { }