Skip to content

Repositories created by newer version of git not supported (reftable ref format). #14716

@yshui

Description

@yshui

Describe the bug

error:
       … while fetching the input 'git+file:///tmp/repo'

       error: opening Git repository "/tmp/repo": unsupported extension name extensions.refstorage

I can't find anything in git's release notes indicating reftable has become the default, but for some reason all my new git repos start to use reftable.

Steps To Reproduce

Clone a flake repo (to explicitly choose ref format, use git clone --ref-format=reftable), run nix build.

Expected behavior

Builds

Metadata

nix-env (Nix) 2.31.2

Additional context

Checklist


Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfetchingNetworking with the outside (non-Nix) world, input locking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions