update envrc if flake-module.nix was changed

This commit is contained in:
Jörg Thalheim
2023-07-28 13:45:25 +02:00
parent 81615939ea
commit 1834070c8d

View File

@@ -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 ''