Fix Nix file order

shell.nix file is used first if it exists
This commit is contained in:
Silvan Mosberger 2023-11-18 00:19:32 +01:00 committed by GitHub
parent 9178f71653
commit f578994b13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`