Skip to content

Commit

Permalink
Add .envrc for direnv + nix-direnv
Browse files Browse the repository at this point in the history
With this `.envrc` the development shell environment specified in the
flake is entered automatically, so that the precommit hook would
actually work.
  • Loading branch information
sigprof committed Jun 18, 2022
1 parent 5387f52 commit c853d3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
result
result-*

.direnv
.pre-commit-config.yaml

0 comments on commit c853d3c

Please sign in to comment.