From aa06ffc4c32b2dd117da5d591cb2e9620fc0c4a5 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 7 Aug 2025 12:54:16 +0200 Subject: [PATCH] nixos/invoiceplane: Update patch --- nixos/modules/services/web-apps/invoiceplane.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/invoiceplane.nix b/nixos/modules/services/web-apps/invoiceplane.nix index 10bac784e5f0..4501f1154517 100644 --- a/nixos/modules/services/web-apps/invoiceplane.nix +++ b/nixos/modules/services/web-apps/invoiceplane.nix @@ -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 = ''