Skip to content

Commit

Permalink
[Backport release-24.11] firefly-iii: 6.1.24 -> 6.1.25, nixos/firefly…
Browse files Browse the repository at this point in the history
…-iii: Improved cache clearing (#366888)
  • Loading branch information
wolfgangwalther authored Dec 22, 2024
2 parents db54279 + 3a00965 commit 0ebf06b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/services/web-apps/firefly-iii.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ let
${lib.optionalString (
cfg.settings.DB_CONNECTION == "sqlite"
) "touch ${cfg.dataDir}/storage/database/database.sqlite"}
${artisan} optimize:clear
rm ${cfg.dataDir}/cache/*.php
${artisan} package:discover
${artisan} firefly-iii:upgrade-database
Expand Down Expand Up @@ -318,6 +319,7 @@ in
} // commonServiceConfig;
unitConfig.JoinsNamespaceOf = "phpfpm-firefly-iii.service";
restartTriggers = [ cfg.package ];
partOf = [ "phpfpm-firefly-iii.service" ];
};

systemd.services.firefly-iii-cron = {
Expand Down
8 changes: 4 additions & 4 deletions pkgs/by-name/fi/firefly-iii/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

stdenvNoCC.mkDerivation (finalAttrs: {
pname = "firefly-iii";
version = "6.1.24";
version = "6.1.25";

src = fetchFromGitHub {
owner = "firefly-iii";
repo = "firefly-iii";
rev = "v${finalAttrs.version}";
hash = "sha256-ZB0yaGHL1AI67i2ixUzuWyiBjXJNlDV4APBahDuNObI=";
hash = "sha256-6DZwTk67bKvgB+Zf7aPakrWWYCAjkYggrRiaFKgsMkk=";
};

buildInputs = [ php83 ];
Expand All @@ -38,12 +38,12 @@ stdenvNoCC.mkDerivation (finalAttrs: {
composerStrictValidation = true;
strictDeps = true;

vendorHash = "sha256-6sOmW+CFuNEBVHpZwh/wjrIINPdcPJUvosmdLaCvZlw=";
vendorHash = "sha256-5uUjb5EPcoEBuFbWGb1EIC/U/VaSUsRp09S9COIx25E=";

npmDeps = fetchNpmDeps {
inherit (finalAttrs) src;
name = "${finalAttrs.pname}-npm-deps";
hash = "sha256-W3lV0LbmOPfIwStNf4IwBVorSFHIlpyuIk+17/V/Y2Y=";
hash = "sha256-j49iltvW7xGOCV+FIB4f+ECfQo50U+wTugyaK9JGN3A=";
};

composerRepository = php83.mkComposerRepository {
Expand Down

0 comments on commit 0ebf06b

Please sign in to comment.