mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
README: add more tracked files
This commit is contained in:
parent
1b64872572
commit
322d9b63ab
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -277,6 +277,16 @@ will be interpeted or passed along.
|
|||
All single word arguments (`-j4`, `--impure` etc)
|
||||
are passed to the underlying nix invocation.
|
||||
|
||||
##### Tracked files
|
||||
|
||||
`nix-direnv` makes a performance tradeoff only considers changes in a limited
|
||||
number of files when deciding to update its cache.
|
||||
|
||||
- for `use nix` this is `~/.direnvrc`, `~/.config/direnv/direnvrc`, `.envrc`, `default.nix` and `shell.nix`
|
||||
- for `use flake` this is `~/.direnvrc`, `~/.config/direnv/direnvrc`, `.envrc`, `flake.nix`, `flake.lock` and `devshell.toml`
|
||||
|
||||
To add more files to be checked use `nix_direnv_watch_file` like this: `nix_direnv_watch_file your-file.nix`
|
||||
|
||||
## General direnv tips
|
||||
|
||||
- [Changing where direnv stores its cache](https://github.com/direnv/direnv/wiki/Customizing-cache-location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue