📝How to: nix-direnv in manual mode
- tags
- source
By default, nix-direnv automatically reloads dev shell when you enter directory. This may start rebuilding the shell, which may take a while. If that’s undesirable, you can use nix-direnv in manual mode by calling nix_direnv_manual_reload
before use flake
:
# in .envrc:
nix_direnv_manual_reload
use flake
nix-direnv will warn if environment is outdated. To update the environment, call:
nix-direnv-reload