by Hnus · 12mo ago · 0 comments
> If the directory is part of a Git repository, then the input will be treated as a `git+file:` URL, otherwise it will be treated as a `path:` url;
This is why untracked or unstaged files disappear when using flakes:
https://github.com/NixOS/nix/blob/ec6789f9dafce41011418fe6fc...
I could have sworn that I had this issue without using flakes. The start with Nixos was really bumpy; I must have mixed something up.