add .envrc for the project

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
zimbatm 2022-09-21 13:20:03 +02:00
parent 0c20ac5822
commit f2bbb89e39
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7

7
.envrc Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Environment variables for the project. See https://direnv.net/
if nix flake metadata &>/dev/null; then
use flake
else
use nix
fi