feat(3p): import build of nix-snapshotter

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
This commit is contained in:
Vincent Ambo 2023-09-13 19:21:15 +03:00 committed by clbot
parent 4797a3fd8a
commit 1dcd6ea642

13
third_party/nix-snapshotter/default.nix vendored Normal file
View file

@ -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" { }