From 1dcd6ea6428ead0376ac202e58fbce155efc9e77 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 13 Sep 2023 19:21:15 +0300 Subject: feat(3p): import build of nix-snapshotter Change-Id: I8e50d4941c151a8a7c006441b2f8f951219dc3e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9327 Autosubmit: tazjin Reviewed-by: flokli Tested-by: BuildkiteCI --- third_party/nix-snapshotter/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 third_party/nix-snapshotter/default.nix (limited to 'third_party/nix-snapshotter/default.nix') diff --git a/third_party/nix-snapshotter/default.nix b/third_party/nix-snapshotter/default.nix new file mode 100644 index 000000000000..58b30af25b67 --- /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" { } -- cgit 1.4.1