diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-12-07 17:32:31 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-12-11 12:09:39 -0500 |
commit | 844e0b64b2a00f1026075979c2cbd548dcb5f80b (patch) | |
tree | 1d8dbd6cd8e9728cfb7e51716dcbaf94b4f0895e /nixDevEnv.sh | |
parent | poem substitution (diff) |
nix flake related modifications
Diffstat (limited to 'nixDevEnv.sh')
-rw-r--r-- | nixDevEnv.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixDevEnv.sh b/nixDevEnv.sh new file mode 100644 index 0000000..669d42f --- /dev/null +++ b/nixDevEnv.sh @@ -0,0 +1,9 @@ +if [ -f .envrc-git-init ]; then + source_env_if_exists .envrc-git-init || source .envrc-git-init +fi +if [ -f .envrc-local ]; then + source_env_if_exists .envrc-local || source .envrc-local +fi +if [ -f .envrc-nix ]; then + source_env_if_exists .envrc-nix || source .envrc-nix +fi |