This is what I get:

Initialized empty Git repository in /nix/store/mx5dvcx7w6d3yxifkysnq5pnap7ax2dy-git-export/.git/
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/LaurentGomila/SFML.git/info/refs

Submitted by Lluís Batlle i Rossell on 28 April 2011 at 22:45

On 28 August 2011 at 17:00 Nicolas Pierron tagged !nbp

On 28 August 2011 at 17:27 Nicolas Pierron commented:

I’ve tested with the new fetchgit builder. The bug still exists and seems to be cause by a missing environment variable. I can reproduce it inside a nix expression and with the following command:

env - PATH=“$PATH” /bin/sh -xe pkgs/build-support/fetchgit/nix-prefetch-git –builder –url https://github.com/jquery/jquery.git –rev refs/head/master –out $(pwd)/https-fetch-git

but not when I don’t wipe out my environment:

/bin/sh -xe pkgs/build-support/fetchgit/nix-prefetch-git –builder –url https://github.com/jquery/jquery.git –rev refs/head/master –out $(pwd)/https-fetch-git


On 28 August 2011 at 17:44 Eelco Dolstra commented:

Specifically it’s the GIT_SSL_CAINFO environment variable, which should point at ${pkgs.cacert}/etc/ca-bundle.crt. This can easily be added to the fetchgit function.


On 28 August 2011 at 18:06 Nicolas Pierron closed this issue.

On 28 August 2011 at 18:07 Nicolas Pierron commented:

Fixed at revision 28857.

Log in to post comments