nixos/invoiceplane: Update patch

(cherry picked from commit aa06ffc4c3)
This commit is contained in:
Jonas Heinrich
2025-08-07 12:54:16 +02:00
committed by github-actions[bot]
parent 7f6e2a1c01
commit a0c2500457

View File

@@ -70,7 +70,7 @@ let
postPatch = ''
# Patch index.php file to load additional config file
substituteInPlace index.php \
--replace-fail "require('vendor/autoload.php');" "require('vendor/autoload.php'); \$dotenv = Dotenv\Dotenv::createImmutable(__DIR__, 'extraConfig.php'); \$dotenv->load();";
--replace-fail "require __DIR__ . '/vendor/autoload.php';" "require('vendor/autoload.php'); \$dotenv = Dotenv\Dotenv::createImmutable(__DIR__, 'extraConfig.php'); \$dotenv->load();";
'';
installPhase = ''