[Nix-dev] Problems using git on darwin

Eelco Dolstra eelco.dolstra at logicblox.com
Sun Jul 22 18:07:25 CEST 2012


Hi,

(resend to list)

On 22/07/12 11:55, Marco Maggesi wrote:

> I installed git with nix on darwin.
> When I try to use remote (github) repositories I get an SSL error:
> 
> soyuz:nixpkgs maggesi$ git pull
> error: SSL certificate problem: unable to get local issuer certificate while
> accessing https://github.com/maggesi/nixpkgs.git/info/refs
> fatal: HTTP request failed

OpenSSL in Nixpkgs expects the environment variable $OPENSSL_X509_CERT_FILE to
point to an SSL certificate bundle.  On NixOS this is
/etc/ssl/certs/ca-bundle.crt.  If you don't have a similar file on Mac OS X, you
can install the cacert package from Nixpkgs.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list