This at the very least has been fixed, I just saw this very error message two minutes ago:
> error: Path 'style.css' in the repository "/projects/blog" is not tracked by Git.
> To make it visible to Nix, run:
> git -C "/projects/blog" add "style.css"
Using "nix (Nix) 2.32.4" on a multi-user CachyOS setup.
Though I do agree Nix still has many paper cuts, and Flakes so far seems to be introducing a lot of them too.
This at the very least has been fixed, I just saw this very error message two minutes ago:
> error: Path 'style.css' in the repository "/projects/blog" is not tracked by Git.
> To make it visible to Nix, run:
> git -C "/projects/blog" add "style.css"
Using "nix (Nix) 2.32.4" on a multi-user CachyOS setup.
Though I do agree Nix still has many paper cuts, and Flakes so far seems to be introducing a lot of them too.