Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake operations fail in repositories using Git split-index #11754

Open
eigengrau opened this issue Oct 27, 2024 · 0 comments
Open

Flake operations fail in repositories using Git split-index #11754

eigengrau opened this issue Oct 27, 2024 · 0 comments
Labels

Comments

@eigengrau
Copy link

Describe the bug

Certain Nix Flake operations will fail when a repository uses Git’s split-index feature.

This is most likely an upstream issue, cf. libgit2/libgit2#6132. Not sure if you want to keep the issue around, here, as well. Feel free to close.

Steps To Reproduce

git init $TMPDIR/example
cd $TMPDIR/example
git config --local core.splitIndex yes
nix flake init
nix flake update

Observe that this results in:

error: getting working directory status: unsupported mandatory extension: 'link'

Expected behavior

nix flake update succeeds

nix-env --version output

nix-env (Nix) 2.24.9
@eigengrau eigengrau added the bug label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant