From d09e9f54f86878229ddfbab925d60aca167c1b68 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 6 Mar 2021 16:48:13 +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