summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2024-07-23 17:35:28 +0200
committerEarl Warren <contact@earl-warren.org>2024-07-28 08:40:19 +0200
commit91d3a157666eb00fb3db3e1c0e37a13df6cac8d8 (patch)
tree2433fbbc64c81f51cb062ca0fd2dd0695525082a
parentMerge pull request '[v7.0/forgejo] fix(api): issue state change is not idempo... (diff)
downloadforgejo-91d3a157666eb00fb3db3e1c0e37a13df6cac8d8.tar.xz
forgejo-91d3a157666eb00fb3db3e1c0e37a13df6cac8d8.zip
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)
-rw-r--r--.envrc1
-rw-r--r--.gitignore3
2 files changed, 4 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000000..3550a30f2d
--- /dev/null
+++ b/.envrc
@@ -0,0 +1 @@
+use flake
diff --git a/.gitignore b/.gitignore
index b883e079d1..ac9765d10a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -113,6 +113,9 @@ prime/
*_source.tar.bz2
.DS_Store
+# nix-direnv generated files
+.direnv/
+
# Make evidence files
/.make_evidence