diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..4a4726a --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use_nix diff --git a/.gitignore b/.gitignore index d344ba6..95b863a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ config.json +node_modules diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..d8ae26e --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +with import {}; +stdenv.mkDerivation { + name = "node"; + buildInputs = [ nodejs ]; + shellHook = '' + export PATH="$PWD/node_modules/.bin/:$PATH" + ''; +}