From 1834070c8d2b9a7a167386a943538ac0ec786d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 28 Jul 2023 13:45:25 +0200 Subject: [PATCH] update envrc if flake-module.nix was changed --- pkgs/clan-cli/.envrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/clan-cli/.envrc b/pkgs/clan-cli/.envrc index 4feb0e837..14b7b6e64 100644 --- a/pkgs/clan-cli/.envrc +++ b/pkgs/clan-cli/.envrc @@ -1,2 +1,9 @@ # Because we depend on nixpkgs sources, uploading to builders takes a long time + +if type nix_direnv_watch_file &>/dev/null; then + nix_direnv_watch_file flake-module.nix +else + direnv watch flake-module.nix +fi use flake .#clan --builders '' +