From b5f54856b4521bf07d25e86bc90a21e25f28e1af Mon Sep 17 00:00:00 2001 From: Ashlynne Mitchell Date: Mon, 4 Aug 2025 20:04:43 +1000 Subject: [PATCH] actual-server: 25.7.1 -> 25.8.0 --- pkgs/by-name/ac/actual-server/package.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ac/actual-server/package.nix b/pkgs/by-name/ac/actual-server/package.nix index eafbd1a588f4..a8f4c4a8aef0 100644 --- a/pkgs/by-name/ac/actual-server/package.nix +++ b/pkgs/by-name/ac/actual-server/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + jq, makeWrapper, nodejs_22, python3, @@ -10,13 +11,13 @@ }: let yarn-berry = yarn-berry_4; - version = "25.7.1"; + version = "25.8.0"; src = fetchFromGitHub { name = "actualbudget-actual-source"; owner = "actualbudget"; repo = "actual"; tag = "v${version}"; - hash = "sha256-BXF9VL2HTNOOsX+l6G+5CHRi+ycGJTizky8cypijR7M="; + hash = "sha256-9Ov9AR+WEKtjiX+C2lvjxerc295DWSRHpTb4Lu1stoo="; }; translations = fetchFromGitHub { name = "actualbudget-translations-source"; @@ -24,8 +25,8 @@ let repo = "translations"; # Note to updaters: this repo is not tagged, so just update this to the Git # tip at the time the update is performed. - rev = "319e1b8f099b77c2ff939c8728182a0a3afdec49"; - hash = "sha256-63Uc/2HTYOm2hQEr7grhNTLWtage6oyl4J/a6fGonVI="; + rev = "c1c2f298013ca3223e6cd6a4a4720bca5e8b8274"; + hash = "sha256-3dtdymdKfEzUIzButA3L88GrehO4EjCrd/gq0Y5bcuE="; }; in @@ -60,6 +61,11 @@ stdenv.mkDerivation (finalAttrs: { # Allow `remove-untranslated-languages` to do its job. chmod -R u+w ./packages/desktop-client/locale + + # Disable the postinstall script for `protoc-gen-js` because it tries to + # use network in buildPhase. It's just used as a dev tool and the generated + # protobuf code is committed in the repository. + cat <<< $(${lib.getExe jq} '.dependenciesMeta."protoc-gen-js".built = false' ./package.json) > ./package.json ''; buildPhase = '' @@ -76,7 +82,7 @@ stdenv.mkDerivation (finalAttrs: { missingHashes = ./missing-hashes.json; offlineCache = yarn-berry.fetchYarnBerryDeps { inherit (finalAttrs) src missingHashes; - hash = "sha256-SPLosaI2r8PshhqG+dbJktVmjcaDX1GmIXBO0bF+mY4="; + hash = "sha256-kbQjtZivn9ni6PLk04kAJTzhhGgubhnxgHqMnGwEXZk="; }; pname = "actual-server";