tvl-depot/tools/depot-deps.nix
Vincent Ambo dcc6d5db63 chore(tools/depot-deps): add crate2nix
As we start using this in more parts of depot, it makes sense to add
it to the available tools.

Change-Id: I148902714167b36bc51aeca4a241c79ad8a59285
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7562
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
2022-12-16 12:00:35 +00:00

33 lines
907 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";
crate2nix.attr = "third_party.nixpkgs.crate2nix";
depotfmt.attr = "tools.depotfmt";
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";
};
}