]> Git — Sourcephile - sourcephile-nix.git/blob - .envrc
nix: revamp the hierarchy
[sourcephile-nix.git] / .envrc
1 # Build or reuse .cache/nix/
2 source_env .lib/nix/envrc.sh
3
4 # Rebuild the .cache/nix/ when a file changes in shell/
5 # and its subdirectories.
6 while read -r dir
7 do watch_file "$dir"
8 done <<EOF
9 $(find shell/ -type d)
10 EOF