only ignore `{flake,default}.nix` and `{.envrc,.direnv/}` in the root

this makes it so files in `src/nix-dev-shell` are *not* ignored, as they
should not be. note that `flake.lock` is still ignored globally.
This commit is contained in:
Waffle Lapkin 2024-12-10 00:05:40 +01:00
parent a224f3807e
commit 5f99e96fbb
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

8
.gitignore vendored
View File

@ -88,12 +88,12 @@ package.json
tests/rustdoc-gui/src/**.lock
## direnv
.envrc
.direnv/
/.envrc
/.direnv/
## nix
flake.nix
/flake.nix
flake.lock
default.nix
/default.nix
# Before adding new lines, see the comment at the top.