Merge pull request #134 from johnae/master

invalidate cache on changes to devshell.toml
This commit is contained in:
Jörg Thalheim 2021-12-17 11:07:30 +00:00 committed by GitHub
commit b6af475b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@ use_flake() {
|| ! -e "$profile_rc" || ! -e "$profile_rc"
|| "$HOME/.direnvrc" -nt "$profile_rc" || "$HOME/.direnvrc" -nt "$profile_rc"
|| .envrc -nt "$profile_rc" || .envrc -nt "$profile_rc"
|| "$flake_dir/"devshell.toml -nt "$profile_rc"
|| "$flake_dir/"flake.nix -nt "$profile_rc" || "$flake_dir/"flake.nix -nt "$profile_rc"
|| "$flake_dir/"flake.lock -nt "$profile_rc" || "$flake_dir/"flake.lock -nt "$profile_rc"
]]; ]];