diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-12-23 10:06:47 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-12-23 11:12:53 -0500 |
commit | 168e45c3b73ed705ad665395ec1ef5ffc4dc3a6b (patch) | |
tree | bcce2f043de8fb93661fd3edfb53f1ab1eecf893 /.envrc | |
parent | metaverse, xml dom close eof (diff) |
nix setup related but messy
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,6 +3,6 @@ if ! has nix_direnv_version || ! nix_direnv_version 1.4.0; then # https://github.com/nix-community/nix-direnv source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/1.4.0/direnvrc" "sha256-4XfVDjv75eHMWN4G725VW7BoOV4Vl3vAabK4YXIfPyE=" fi -if [ -e .env/local ]; then # source an additional user-specific .envrc in ./.env/local - source .env/local +if [ -e .env/local ]; then + source_env_if_exists .env/local || source .env/local fi |