use lorry to set up shell
1 file changed, 9 insertions(+), 1 deletion(-)
changed files
M .envrc → .envrc
@@ -1,2 +1,10 @@ -use nix +#!/usr/bin/env bash +# the shebang is ignored, but nice for editors + +if type -P lorri &>/dev/null; then + eval "$(lorri direnv)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi dotenv