python312Packages.gto: fix build; set SSL_CERT_FILE

This commit is contained in:
Kirill Radzikhovskyy
2025-02-10 07:41:40 +11:00
parent 41b9d91a49
commit e6682ef3f6
@@ -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 = [