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:
parent
9fbb6e8e3a
commit
4098ddd6be
@ -44,12 +44,6 @@ in python2Packages.buildPythonApplication {
|
|||||||
$WRAP_TK
|
$WRAP_TK
|
||||||
done
|
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
|
# copy hgweb.cgi to allow use in apache
|
||||||
mkdir -p $out/share/cgi-bin
|
mkdir -p $out/share/cgi-bin
|
||||||
cp -v hgweb.cgi contrib/hgweb.wsgi $out/share/cgi-bin
|
cp -v hgweb.cgi contrib/hgweb.wsgi $out/share/cgi-bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user