Unverified Commit d9b29225 authored by provokateurin's avatar provokateurin Committed by Maximilian Bosch
Browse files

nextcloud*: Replace default certificate bundle with cacert bundle

parent dfb7f45b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
  stdenvNoCC,
  fetchurl,
  nixosTests,
  cacert,
  caBundle ? "${cacert}/etc/ssl/certs/ca-bundle.crt",
  nextcloud30Packages,
  nextcloud31Packages,
}:
@@ -32,6 +34,10 @@ let
        inherit packages;
      };

      postPatch = ''
        cp ${caBundle} resources/config/ca-bundle.crt
      '';

      installPhase = ''
        runHook preInstall
        mkdir -p $out/