Enable direnv (#31672) (#31679)

Backport #31672 by @techknowlogick

This lets developers who have direnv enabled to load our nix flake
automatically when entering it

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
(cherry picked from commit 17b04644edb4fd1ba6ef4698868f321fc11c4f4d)
This commit is contained in:
Giteabot 2024-07-23 23:35:28 +08:00 committed by Earl Warren
parent 227d3f42bf
commit 91d3a15766
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

3
.gitignore vendored
View file

@ -113,6 +113,9 @@ prime/
*_source.tar.bz2
.DS_Store
# nix-direnv generated files
.direnv/
# Make evidence files
/.make_evidence