Added nix check and pre commit hook for formatting (#220)

* Added nix check and pre commit hook for formatting

* Removed nix fmt check from CI
This commit is contained in:
Alexander Nortung 2023-03-06 15:06:16 +00:00 committed by GitHub
parent c5f31f5677
commit 2c333c86d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 5 deletions

7
.envrc Normal file
View file

@ -0,0 +1,7 @@
use_flake() {
watch_file flake.nix
watch_file flake.lock
eval "$(nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile")"
}
use flake