From eca100eb7dc620812fc7cafda6a69934074b7e5d Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 14 May 2025 17:22:24 -0400 Subject: [PATCH] Revert "doc/rl-next: add better-flake-git-errors" This was already released on 2.28.0 This reverts commit 721b09a69f289f5b542bda848b865773d042b4c6. --- doc/manual/rl-next/better-flake-git-errors.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 doc/manual/rl-next/better-flake-git-errors.md diff --git a/doc/manual/rl-next/better-flake-git-errors.md b/doc/manual/rl-next/better-flake-git-errors.md deleted file mode 100644 index b10fa1253..000000000 --- a/doc/manual/rl-next/better-flake-git-errors.md +++ /dev/null @@ -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" -```