diff options
author | Alan Pearce | 2024-12-28 19:41:04 +0100 |
---|---|---|
committer | Alan Pearce | 2024-12-28 19:41:04 +0100 |
commit | c459e9f75cb1ecbf41bd5023714303a522494018 (patch) | |
tree | 14169c9907a6852928c556257c0e0a26048f713f /.envrc | |
parent | 7b7960b098be7d6092df90ed9d9d7e6c02fa33a8 (diff) | |
download | nixfiles-c459e9f75cb1ecbf41bd5023714303a522494018.tar.lz nixfiles-c459e9f75cb1ecbf41bd5023714303a522494018.tar.zst nixfiles-c459e9f75cb1ecbf41bd5023714303a522494018.zip |
re-configure deploy-rs
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.envrc b/.envrc new file mode 100644 index 00000000..ed8f9482 --- /dev/null +++ b/.envrc @@ -0,0 +1,9 @@ +if type -P lorri &>/dev/null; then + if test -n "$TMPDIR"; then + export TMPDIR="$(readlink -f $TMPDIR)" + fi + eval "$(lorri direnv --flake .)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi |