diff --git a/.gitignore b/.gitignore index dba1805b7..879c5baf6 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,7 @@ cert-manager-webhook-gandi /charts/ # JetBrains -.idea \ No newline at end of file +.idea + +# Nix +.envrc diff --git a/shell.nix b/shell.nix new file mode 100644 index 000000000..e294d51a7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,16 @@ +{ pkgs ? import {} }: + +let + unstable = import (builtins.fetchTarball { + name = "nixos-unstable-2021-09-12"; + url = "https://github.com/nixos/nixpkgs/archive/2ce4d21663113020195f1d953e360213954645b3.tar.gz"; + sha256 = "15pnbmm702a4ni8dm2jdwl46b20qw7gfm5chlrvn7w54cm3h9p0c"; + }) {}; +in pkgs.mkShell { + buildInputs = with unstable; [ + go_1_16 + gopls + docker-compose + postgresql_13 + ]; +}