arcanist: Update certs to fix letsencrypt

Due to the old root certificate used by letsencrypt expiring, arcanist
could not connect anymore to servers using letsencrypt (like
reviews.llvm.org).

Fix it by using the default nix certificates.
This commit is contained in:
Neubauer, Sebastian
2021-10-06 14:40:02 +02:00
parent cc3b147ed1
commit 93eb7786c9
@@ -1,4 +1,5 @@
{ bison
, cacert
, fetchFromGitHub
, flex
, php
@@ -53,6 +54,7 @@ stdenv.mkDerivation {
make install -C support/xhpast $makeFlags "''${makeFlagsArray[@]}" -j $NIX_BUILD_CORES
make cleanall -C support/xhpast $makeFlags "''${makeFlagsArray[@]}" -j $NIX_BUILD_CORES
cp -R . $out/libexec/arcanist
ln -sf ${cacert}/etc/ssl/certs/ca-bundle.crt $out/libexec/arcanist/resources/ssl/default.pem
${makeArcWrapper "arc"}
${makeArcWrapper "phage"}