@@ -28,8 +28,6 @@ stdenv.mkDerivation rec {
2828 sha256 = "1s1hyndva0yp62xy96pcp4anzrvw6cl0abjajim17sbmdp00fwhw";
2929 };
3030
31− patches = [ ./nix-ssl-cert-file.patch ];
32−
3331 outputs = [ "bin" "dev" "out" "man" "devdoc" ];
3432
3533 enableParallelBuilding = true;
@@ -57,9 +55,7 @@ stdenv.mkDerivation rec {
5755 '';
5856
5957 configureFlags = [
60− # OS X does not have a default system bundle, so we assume cacerts is installed in the default nix-env profile
61− # This sucks. We should probably just include the latest cacerts in the darwin bootstrap.
62− "--with-ca-bundle=${if stdenv.isDarwin then "/nix/var/nix/profiles/default" else ""}/etc/ssl/certs/ca-${if stdenv.isDarwin then "bundle" else "certificates"}.crt"
58+ "--with-ca-fallback"
6359 "--disable-manual"
6460 ( if sslSupport then "--with-ssl=${openssl.dev}" else "--without-ssl" )
6561 ( if gnutlsSupport then "--with-gnutls=${gnutls.dev}" else "--without-gnutls" )