]> Git — Sourcephile - sourcephile-nix.git/blob - .envrc
nix: add mem and swaplist
[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