This reverts commit 2e15a8f2dd.
libgit2 v0.23.2 is no longer necessary due to
edbe73dc13e6090269f0d8b2bb759c7957a83ec1
Signed-off-by: Maximilian Güntner <code@klandest.in>
When used by cargo, `libgit2` crashes with a Segmentation Fault on
Darwin. This crash is somehow connected to the `Security.framework`
native to Darwin, and while being easy to reproduce, is very hard to
track down.
This commit introduces a patch to `libgit2` which disables the
troublesome transport and instead depends on `libcurl`. The patch also
adds support for `SSL_CERT_FILE` to `libgit2`.
Upstream tracking issue is
https://github.com/libgit2/libgit2/issues/3885.
In line with the Nixpkgs manual.
A mechanical change, done with this command:
find pkgs -name "*.nix" | \
while read f; do \
sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
done
I manually skipped some:
* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
Along with PR #13879, these patches let julia build and run on
darwin. Using an llvm with shared library support is an idea adopted from
a @pikajude comment here https://github.com/NixOS/nixpkgs/issues/10864
The libgit2 change is mechanical to pull in iconv on darwin.
The frameworks are referenced by julia's build system.