Add more hashi tools

This commit is contained in:
Luc Perkins 2022-07-31 18:20:01 +02:00
parent 5389d28c23
commit a4ad01f3a8
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
2 changed files with 17 additions and 3 deletions

View file

@ -86,6 +86,11 @@ The sections below list what each template includes. In all cases, you're free t
- [Terraform] 1.2.6 - [Terraform] 1.2.6
- [Packer] 1.8.2 - [Packer] 1.8.2
- [Nomad] 1.2.9
- [nomad-autoscaler] 0.3.6-dev
- [nomad-pack] 0.0.1-techpreview.3
- [levant] 0.3.1
- [damon]
- [Terragrunt] 0.37.0 - [Terragrunt] 0.37.0
### [`java`](./java) ### [`java`](./java)
@ -149,6 +154,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[cachix]: https://www.cachix.org [cachix]: https://www.cachix.org
[cargo]: https://doc.rust-lang.org/cargo [cargo]: https://doc.rust-lang.org/cargo
[clippy]: https://github.com/rust-lang/rust-clippy [clippy]: https://github.com/rust-lang/rust-clippy
[damon]: https://github.com/hashicorp/damon
[dhall]: https://dhall-lang.org [dhall]: https://dhall-lang.org
[dhall-to-nix]: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-nix [dhall-to-nix]: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-nix
[elixir]: https://elixir-lang.org [elixir]: https://elixir-lang.org
@ -163,6 +169,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[iex]: https://hexdocs.pm/iex/IEx.html [iex]: https://hexdocs.pm/iex/IEx.html
[java]: https://java.com [java]: https://java.com
[kotlin]: https://kotlinlang.org [kotlin]: https://kotlinlang.org
[levant]: https://github.com/hashicorp/levant
[lorri]: https://github.com/target/lorri [lorri]: https://github.com/target/lorri
[maven]: https://maven.apache.org [maven]: https://maven.apache.org
[mix]: https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html [mix]: https://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html
@ -172,6 +179,9 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[nixpkgs]: https://github.com/NixOS/nixpkgs [nixpkgs]: https://github.com/NixOS/nixpkgs
[nix-direnv]: https://github.com/nix-community/nix-direnv [nix-direnv]: https://github.com/nix-community/nix-direnv
[node]: https://nodejs.org [node]: https://nodejs.org
[nomad]: https://nomadproject.io
[nomad-autoscaler]: TOhttps://github.com/hashicorp/nomad-autoscaler
[nomad-pack]: https://github.com/hashicorp/nomad-pack
[packer]: https://packer.io [packer]: https://packer.io
[phoenix]: https://phoenixframework.org [phoenix]: https://phoenixframework.org
[pnpm]: https://pnpm.io [pnpm]: https://pnpm.io

View file

@ -1,6 +1,6 @@
{ {
description = description =
"A Nix-flake-based development environment for Terraform and Packer"; "A Nix-flake-based development environment for Terraform, Packer, and Nomad";
inputs = { dev.url = "github:the-nix-way/dev-templates"; }; inputs = { dev.url = "github:the-nix-way/dev-templates"; };
@ -10,9 +10,12 @@
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
inherit (pkgs) mkShell packer terraform; inherit (pkgs)
damon levant mkShell nomad nomad-autoscaler nomad-pack packer
terraform;
hashiTools = [ packer terraform ]; hashiTools =
[ packer terraform nomad nomad-autoscaler nomad-pack levant damon ];
relatedTools = with pkgs; [ terragrunt ]; relatedTools = with pkgs; [ terragrunt ];
in { in {
@ -23,6 +26,7 @@
shellHook = '' shellHook = ''
echo "packer `${packer}/bin/packer --version`" echo "packer `${packer}/bin/packer --version`"
${terraform}/bin/terraform --version ${terraform}/bin/terraform --version
${nomad}/bin/nomad --version
''; '';
}; };
}; };