Temporarily override libgit2 to build from 1.9.6 - #215
Merged
Conversation
Dich0tomy
force-pushed
the
push-owpozvwqsktl
branch
2 times, most recently
from
August 5, 2026 16:33
3f47774 to
47e45ce
Compare
The `libgit2-sys-1.9.6` crate in the repo requires that the version of `libgit2` in the system is >= `1.9.6` - the latest version in unstable is `1.9.4`. There are several ways to go about it - two most reasonable ones being bumping down `libgit2-sys` or simply using an overriden `pkgs.libgit`, which is what we do.
Dich0tomy
force-pushed
the
push-owpozvwqsktl
branch
from
August 5, 2026 18:29
47e45ce to
82a6747
Compare
NTBBloodbath
approved these changes
Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a temporary override for
pkgs.libgit2to satisfy rust'slibgit2-sys, as explained in the commit message.Do note, that it will build
libgit2from source, although that should be a quick process.If you want to go a different way about it, lmk.
btw, the history seems weird, duplicate, but once you rebase the prev. PR it should reconcile properly, I was under the impression that the stacked PRs are a little more streamlined
for the impatient - the patched version can already be used with
github:norgolith/core?ref=pull/215/merge