Skip to content

Temporarily override libgit2 to build from 1.9.6 - #215

Merged
NTBBloodbath merged 1 commit into
norgolith:masterfrom
Dich0tomy:push-owpozvwqsktl
Aug 5, 2026
Merged

Temporarily override libgit2 to build from 1.9.6#215
NTBBloodbath merged 1 commit into
norgolith:masterfrom
Dich0tomy:push-owpozvwqsktl

Conversation

@Dich0tomy

@Dich0tomy Dich0tomy commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR adds a temporary override for pkgs.libgit2 to satisfy rust's libgit2-sys, as explained in the commit message.

Do note, that it will build libgit2 from 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

@Dich0tomy
Dich0tomy requested a review from NTBBloodbath as a code owner August 5, 2026 00:07
@Dich0tomy
Dich0tomy force-pushed the push-owpozvwqsktl branch 2 times, most recently from 3f47774 to 47e45ce Compare August 5, 2026 16:33
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.
@NTBBloodbath
NTBBloodbath merged commit 57b79b9 into norgolith:master Aug 5, 2026
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.

2 participants