nix: evaluate shell hooks

This activates the pre-commit-hook configuration.
This commit is contained in:
Bruno BELANYI 2021-06-12 00:39:58 +02:00
parent 9f255e86e0
commit 1ba2688eb9
1 changed files with 8 additions and 0 deletions

8
.envrc Normal file
View File

@ -0,0 +1,8 @@
use_flake() {
watch_file flake.nix
watch_file flake.lock
eval "$(nix print-dev-env)"
}
use flake
eval "$shellHooks"