When running a command in a directory with a lorri + direnv setup, lorri will rebuild the derivation and reload the environment, even when there were no changes to shell.nix
To Reproduce
Steps to reproduce the behavior:
Create an .envrc file
eval "$(lorri direnv)"
Create a shell.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "work-dev";
buildInputs = with pkgs; [
cargo clangStdenv rust-analyzer rustc rustfmt cargo-expand
openjdk gradle cmake elixir
];
}
Describe the bug
When running a command in a directory with a lorri + direnv setup, lorri will rebuild the derivation and reload the environment, even when there were no changes to
shell.nix
To Reproduce Steps to reproduce the behavior:
.envrc
fileshell.nix
direnv allow
Expected behavior
lorri rebuilds my environment whenever a change was made to
shell.nix
Metadata
Additional context