mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Revert "doc/rl-next: add better-flake-git-errors"
This was already released on 2.28.0
This reverts commit 721b09a69f
.
This commit is contained in:
parent
1d23d883ad
commit
eca100eb7d
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
synopsis: "Improve error message for untracked files in git-based flakes"
|
|
||||||
issues:
|
|
||||||
prs: [12870]
|
|
||||||
---
|
|
||||||
|
|
||||||
If Nix cannot access a file in a flake because it is not tracked by Git, it now provides clear instructions to resolve the issue:
|
|
||||||
|
|
||||||
```
|
|
||||||
error: The path 'foo/bar' in the repository "/path/to/repo" is not tracked by Git.
|
|
||||||
|
|
||||||
To make it accessible to Nix, you need to add it to Git by running:
|
|
||||||
|
|
||||||
git -C "/path/to/repo" add "foo/bar"
|
|
||||||
```
|
|
Loading…
Add table
Add a link
Reference in a new issue