infra/.envrc

12 lines
299 B
Text
Raw Normal View History

#!/usr/bin/env bash
# the shebang is ignored, but nice for editors
2024-07-05 09:43:53 +00:00
# shellcheck shell=bash
if type -P lorri &>/dev/null; then
eval "$(lorri direnv --flake .)"
else
echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
use flake
fi