Describe the bug
The unexpected fragment in flake reference error is displayed when building a flake that has a git input with a # in the name.
Steps To Reproduce
- Clone this repository.
- In the newly cloned repository, run
nix build.
Expected behavior
The project builds.
Metadata
nix-env (Nix) 2.24.14
Additional context
Checklist
Add 👍 to issues you find important.