]> source.dussan.org Git - gitea.git/commitdiff
Enable direnv (#31672) (#31679)
authorGiteabot <teabot@gitea.io>
Tue, 23 Jul 2024 15:35:28 +0000 (23:35 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 15:35:28 +0000 (11:35 -0400)
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>
.envrc [new file with mode: 0644]
.gitignore

diff --git a/.envrc b/.envrc
new file mode 100644 (file)
index 0000000..3550a30
--- /dev/null
+++ b/.envrc
@@ -0,0 +1 @@
+use flake
index 46c8b9b49c9afadf5d21abe1d496791136a1e2b9..7889df77b1e2202245d6a281c341b4e0e5b53a0c 100644 (file)
@@ -108,6 +108,9 @@ prime/
 *_source.tar.bz2
 .DS_Store
 
+# nix-direnv generated files
+.direnv/
+
 # Make evidence files
 /.make_evidence