mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
Fix Nix file order
shell.nix file is used first if it exists
This commit is contained in:
parent
9178f71653
commit
f578994b13
1 changed files with 1 additions and 1 deletions
|
|
@ -303,8 +303,8 @@ when deciding to update its cache.
|
|||
* `.envrc`,
|
||||
* A single nix file. In order of preference:
|
||||
+ The file argument to `use nix`
|
||||
+ `default.nix` if it exists
|
||||
+ `shell.nix` if it exists
|
||||
+ `default.nix` if it exists
|
||||
|
||||
- for `use flake` this is:
|
||||
* `~/.direnvrc`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue