From 4098ddd6be0c7363f6be6965d863cc684b82671e Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Sat, 19 Aug 2017 00:13:40 +0200 Subject: [PATCH] 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. --- pkgs/applications/version-management/mercurial/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 39d44ab145d..53947a95e9f 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -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