tvl-depot/tools/depot-deps.nix
Vincent Ambo fe4cdff442 feat(tools/fetch-depot-inbox): wrapper script to fetch depot maildir
This script fetches the inbox for depot@tvl.su into the specified
directory in maildir format.

The layout of the folder follows the structure generated by public
inbox, i.e. the directory containing the current maildir will be
`$TARGET/su.tvl.depot.0`, but most mail clients (e.g notmuch) will
figure this out on their own.

----

In addition, we would ideally find a CLI mail client that can be
pointed at an arbitrary maildir (or an IMAP server) and works with
local `sendmail` config so that people can have a single command entry
point to interacting with depot@tvl.su.

Change-Id: Iaf9fcce73e9caa2f202327488c43d0394be26ca6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7644
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2022-12-28 08:17:45 +00:00

33 lines
909 B
Nix

# Shell derivation to invoke //nix/lazy-deps with the dependencies
# that should be lazily made available in depot.
{ pkgs, depot, ... }:
depot.nix.lazy-deps {
age-keygen.attr = "third_party.nixpkgs.age";
age.attr = "third_party.nixpkgs.age";
depotfmt.attr = "tools.depotfmt";
fetch-depot-inbox.attr = "tools.fetch-depot-inbox";
gerrit-update.attr = "tools.gerrit-update";
gerrit.attr = "tools.gerrit-cli";
hash-password.attr = "tools.hash-password";
mg.attr = "tools.magrathea";
nint.attr = "nix.nint";
niv.attr = "third_party.nixpkgs.niv";
rebuild-system.attr = "ops.nixos.rebuild-system";
rink.attr = "third_party.nixpkgs.rink";
tf-buildkite = {
attr = "ops.buildkite.terraform";
cmd = "terraform";
};
tf-glesys = {
attr = "ops.glesys.terraform";
cmd = "terraform";
};
tf-keycloak = {
attr = "ops.keycloak.terraform";
cmd = "terraform";
};
}