Sefa Eyeoglu
2026-01-29 21:26:22 +01:00
parent 80a18658b8
commit e447f6c239
2 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -10,8 +10,7 @@
}:
stdenv.mkDerivation rec {
pname = "immich-cli";
version = "2.2.105";
inherit (immich) src pnpmDeps;
inherit (immich) version src pnpmDeps;
postPatch = ''
local -r cli_version="$(jq -r .version cli/package.json)"
+6 -6
View File
@@ -115,27 +115,27 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "immich";
version = "2.4.1";
version = "2.5.2";
src = fetchFromGitHub {
owner = "immich-app";
repo = "immich";
tag = "v${finalAttrs.version}";
hash = "sha256-AOtKRK2vRQKoQAzU4P3h4tQebpWPF3zIWLcToKaU0Lc=";
hash = "sha256-e3gU2pSnbYQQU3SxGaJs8dwfTMpeGTz7dcFCmc7Pi/o=";
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
inherit pnpm;
fetcherVersion = 2;
hash = "sha256-1UhyEHSGNWSNvzDJUSojIoIJA/Gz8KMAGMsL2XZfS5s=";
fetcherVersion = 3;
hash = "sha256-+2rm184Hb+S75VyDn3FU36M/3SH2hUDYbKotIGopmvU=";
};
postPatch = ''
# pg_dumpall fails without database root access
# see https://github.com/immich-app/immich/issues/13971
substituteInPlace server/src/services/backup.service.ts \
--replace-fail '`/usr/lib/postgresql/''${databaseMajorVersion}/bin/pg_dumpall`' '`pg_dump`'
substituteInPlace server/src/utils/database-backups.ts \
--replace-fail '`/usr/lib/postgresql/''${databaseMajorVersion}/bin/''${bin}`' '`''${bin}`'
'';
nativeBuildInputs = [