python312Packages.gto: fix build; set SSL_CERT_FILE (#380720)

This commit is contained in:
Fabian Affolter
2025-02-10 10:49:33 +01:00
committed by GitHub
@@ -1,8 +1,8 @@
{
lib,
buildPythonPackage,
cacert,
entrypoints,
fastentrypoints,
fetchFromGitHub,
freezegun,
funcy,
@@ -68,6 +68,9 @@ buildPythonPackage rec {
git config --global user.email "nobody@example.com"
git config --global user.name "Nobody"
# _pygit2.GitError: OpenSSL error: failed to load certificates: error:00000000:lib(0)::reason(0)
export SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt
'';
disabledTests = [