mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
rainloop-community: use cacert bundle instead of vendored CA bundle
Assisted-by: Claude Code (Claude Opus 5.5) with patchix
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
cacert,
|
||||
unzip,
|
||||
writeText,
|
||||
dos2unix,
|
||||
@@ -59,6 +60,9 @@ let
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r rainloop/* $out
|
||||
rm $out/rainloop/v/${version}/app/libraries/tmhOAuth/cacert.pem
|
||||
ln -s ${cacert}/etc/ssl/certs/ca-bundle.crt \
|
||||
$out/rainloop/v/${version}/app/libraries/tmhOAuth/cacert.pem
|
||||
rm -rf $out/data
|
||||
cp ${includeScript} $out/include.php
|
||||
mkdir $out/data
|
||||
|
||||
Reference in New Issue
Block a user