Skip to content

unexpected fragment in flake reference error when trying to use a git branch with a # in the name as a flake input #13325

@nothingnesses

Description

@nothingnesses

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

  1. Clone this repository.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions