diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-03-10 15:48:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 15:48:55 +0100 |
commit | a25fd88dbb2e35f823c9dea34bdbc82149f6bd70 (patch) | |
tree | 3099b0b8e9bef54af5f69b0a5ffcf2f3e3a1fe75 /.envrc | |
parent | a66ce1c86c1e21e8ab9dff41d87d44856420e2c7 (diff) |
add(nix): lorri integration (#1200)
Check, if direnv supports lorri, if not run
`use_flake` directly from direnv.
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1 +1,5 @@ -use_flake +if command -v lorri >/dev/null 2>&1; then + eval "$(lorri direnv)" +else + use flake +fi |