diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..cb20e39 --- /dev/null +++ b/.envrc @@ -0,0 +1,13 @@ +if type lorri &>/dev/null; then + echo "direnv: using lorri from PATH ($(type -p lorri))" + eval "$(lorri direnv)" +else + # fall back to using direnv's builtin nix support + # to prevent bootstrapping problems. + use nix +fi + +# source an additional user-specific .envrc in ./.envrc-local +if [ -e .envrc-local ]; then + source .envrc-local +fi diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..0b6b743 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +with import { }; +mkShell rec { + name = "heyarne.all-my-friends.server"; + buildInputs = with pkgs; [ + clojure + nodejs-14_x + ]; +}