this repo has no description
nix

Use nix-direnv instead of lorri

Signed-off-by: Adam Hellberg <sharparam@sharparam.com>
Change-Id: If96d2988ca9651bcd8f1865be9829ec36a6a6964

sharparam.com 57be11ac 04765765

verified
+5 -5
+5 -5
.envrc
··· 1 1 #!/usr/bin/env bash 2 2 # the shebang is ignored, but nice for editors 3 3 4 - if type -P lorri &>/dev/null; then 5 - eval "$(lorri direnv)" 6 - else 7 - echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' 8 - use flake 4 + if ! has nix_direnv_version || ! nix_direnv_version 3.1.0; then 5 + echo 'While direnv evaluated .envrc, could not find nix-direnv or version is too old [https://github.com/nix-community/nix-direnv]' >&2 6 + echo 'Will use regular flake mode instead' >&2 9 7 fi 8 + 9 + use flake