diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-11-09 18:42:38 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-04-02 20:01:37 -0400 |
commit | 58c37322bd487ed28c4604340f82b1e7769e8666 (patch) | |
tree | 3fbc74d002e8d6628f20a540d0566c0f2856e850 /.envrc | |
parent | sisu.org minor adjustment to opening description (diff) |
nixify (start to nixify)
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 + NIX_ENFORCE_PURITY=0 +fi +# source an additional user-specific .envrc in ./.envrc-local +if [ -e .envrc-local ]; then + source .envrc-local +fi |