From 168e45c3b73ed705ad665395ec1ef5ffc4dc3a6b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 23 Dec 2021 10:06:47 -0500 Subject: nix setup related but messy --- .envrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.envrc') diff --git a/.envrc b/.envrc index 72eefc7..c0adda9 100644 --- a/.envrc +++ b/.envrc @@ -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 -- cgit v1.2.3