{
  system ? null,
  bootstrap-nixpkgs ? null,
  bootstrap-pkgs ? null,
}:

let
  inputs = import ./nix/tamal { inherit system bootstrap-nixpkgs bootstrap-pkgs; };

  pkgs = import inputs.nixpkgs {
    system = if builtins.isString system then system else builtins.currentSystem;
    overlays = [
      (import ./nix/overlay)
      (import ./nix/overlay/development.nix)
      (import ./nix/overlay/check.nix)
    ];
  };
in
{
  inherit (pkgs) pijul-srv-lite;

  inherit (pkgs.pijul-srv-lite) default check;

  shell = pkgs.pijul-srv-lite.dev-shell;
}
