From 1ba2688eb9276dafa518ae657a1a4ba2f70a1981 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 12 Jun 2021 00:39:58 +0200 Subject: [PATCH] nix: evaluate shell hooks This activates the pre-commit-hook configuration. --- .envrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..116d0c6 --- /dev/null +++ b/.envrc @@ -0,0 +1,8 @@ +use_flake() { + watch_file flake.nix + watch_file flake.lock + eval "$(nix print-dev-env)" +} + +use flake +eval "$shellHooks"