Skip to content

Commit

Permalink
Adds nix
Browse files Browse the repository at this point in the history
  • Loading branch information
elcuervo committed Jan 4, 2023
1 parent 4bedd9d commit 1ab5669
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if has nix-shell; then
use nix
dotenv
fi
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.env
13 changes: 13 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
let
# A pinned recent revision of nixpkgs/unstable.
pkgs = import
(builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/ee01de29d2f58d56b1be4ae24c24bd91c5380cea.tar.gz";
sha256 = "0829fqp43cp2ck56jympn5kk8ssjsyy993nsp0fjrnhi265hqps7";
})
{ };
in

pkgs.mkShell {
buildInputs = with pkgs; [ go ];
}

0 comments on commit 1ab5669

Please sign in to comment.