Skip to content

Commit

Permalink
Add shell.nix and .envrc for great good
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Mendez <[email protected]>
  • Loading branch information
mmlb committed Nov 9, 2020
1 parent 24f9c82 commit ca34253
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
which nix &>/dev/null && use nix
14 changes: 14 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
let _pkgs = import <nixpkgs> { };
in { pkgs ? import (_pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
#branch@date: nixpkgs-unstable@2020-11-04
rev = "dfea4e4951a3cee4d1807d8d4590189cf16f366b";
sha256 = "02j7f5l2p08144b2fb7pg6sbni5km5y72k3nk3i7irddx8j2s04i";
}) { } }:

with pkgs;

mkShell {
buildInputs = [ go nodePackages.prettier shellcheck shfmt terraform ];
}

0 comments on commit ca34253

Please sign in to comment.