-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rl-next: Add *general* note about git fetcher reimpl
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
synopsis: Git fetching has been reimplemented | ||
prs: 9240 9241 9258 9480 | ||
--- | ||
|
||
Nix can fetch sources from Git natively, during evaluation and locking; outside the sandbox. | ||
The existing implementation based on the Git CLI had issues regarding reproducibility and performance. | ||
|
||
Most of the original fetchGit behavior has been implemented using the libgit2 library, which gives the fetcher fine grained control. | ||
|
||
Known issues: | ||
- The `export-subst` behavior has not been reimplemented. [Partial](https://github.com/NixOS/nix/pull/9391#issuecomment-1872503447) support for this Git feature is feasible, but it did not make the release window. |