mercurial: remove hardcoded linux-only cacert

This is no more needed since the introduction of NIX_SSL_CERT_PATH.
Furthermore, it breaks on darwin because the path does not exist.

Fixes #27928.
This commit is contained in:
Guillaume Maudoux 2017-08-19 00:13:40 +02:00 committed by Franz Pletz
parent 9fbb6e8e3a
commit 4098ddd6be

View file

@ -44,12 +44,6 @@ in python2Packages.buildPythonApplication {
$WRAP_TK
done
mkdir -p $out/etc/mercurial
cat >> $out/etc/mercurial/hgrc << EOF
[web]
cacerts = /etc/ssl/certs/ca-certificates.crt
EOF
# copy hgweb.cgi to allow use in apache
mkdir -p $out/share/cgi-bin
cp -v hgweb.cgi contrib/hgweb.wsgi $out/share/cgi-bin