From 93eb7786c9365981854a98e508d5b1cae5ee2fcf Mon Sep 17 00:00:00 2001 From: "Neubauer, Sebastian" Date: Wed, 6 Oct 2021 14:39:58 +0200 Subject: [PATCH] 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. --- pkgs/development/tools/misc/arcanist/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/misc/arcanist/default.nix b/pkgs/development/tools/misc/arcanist/default.nix index 94e230e6a12c..a2af61fb6a16 100644 --- a/pkgs/development/tools/misc/arcanist/default.nix +++ b/pkgs/development/tools/misc/arcanist/default.nix @@ -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"}