From 4a5d4eff79e65f09ff603ac55010b0ab4400c706 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 7 Mar 2021 18:51:49 +0000 Subject: [PATCH] nix: add direnv integration --- .envrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..9556665 --- /dev/null +++ b/.envrc @@ -0,0 +1,8 @@ +use_flake() { + watch_file flake.nix + watch_file flake.lock + eval "$(nix print-dev-env)" +} + +ulimit -s unlimited # Bypass current bug in `nix` flakes evaluation +use flake