You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
I believe this is not a precise duplicate of any existing issues, but I might be wrong, in that case, sorry.
My nix-shell involes some evaluation-time computation that is easily triggered (in fact, it reads .git/index). Lorri detects that it uses that file (good), watches that file for changes (good), re-starts a build when that files changed (good), and when the build is finished, even thought the resulting derivation is identicaly, reloads my direnv (bad, because very noisy).
Maybe this is naive, but couldn’t lorri notice that the shell derivation is unchanged in most cases, and not do anything?
The text was updated successfully, but these errors were encountered:
Currently, lorri may regenerate the shell_gc_root link to the project
environments store path, even if that store path has not changed.
With this commit, lorri will now check if the current and previous
store paths are identical and, if so, avoid regenerating the symlink.
This is especially interesting as lorri instructs direnv to watch the
shell_gc_root symlink, previously causing direnv to be constantly
reinvoked for some projects.
If merged, this should also fix issue target#387.
I believe this is not a precise duplicate of any existing issues, but I might be wrong, in that case, sorry.
My
nix-shell
involes some evaluation-time computation that is easily triggered (in fact, it reads.git/index
). Lorri detects that it uses that file (good), watches that file for changes (good), re-starts a build when that files changed (good), and when the build is finished, even thought the resulting derivation is identicaly, reloads my direnv (bad, because very noisy).Maybe this is naive, but couldn’t
lorri
notice that the shell derivation is unchanged in most cases, and not do anything?The text was updated successfully, but these errors were encountered: