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

Fix fetches with Nix 2.23's default shallow clones #19

Merged
merged 5 commits into from
Jul 2, 2024
Merged

Fix fetches with Nix 2.23's default shallow clones #19

merged 5 commits into from
Jul 2, 2024

Conversation

marienz
Copy link
Owner

@marienz marienz commented Jul 2, 2024

No description provided.

marienz added 5 commits July 2, 2024 21:41
Shallow clones are the default in Nix 2.23, but the Git server for
notmuch does not seem to allow shallow clones of specific revisions.

Disable them, which should make no difference for Nix < 2.23.

This is mostly to (hopefully) unblock CI. If this fixes it, I should
investigate if it is possible for Nix to fall back to a full clone in
this scenario.
Savannah seems to have the same problem.

CI fails for emms. Extend to all of savannah as we'll presumably hit
this for several other packages next...
It looks like sourcehut does not allow shallow clones of arbitrary revs
either. Use Nix's experimental archive fetcher for more optimal fetches.
They do not seem to work.
They do not seem to work either.
@marienz marienz merged commit 4fc2df2 into main Jul 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant