Skip to content

Commit b991a5e

Browse files
authored
immich: 1.129.0 -> 1.130.3 (#393108)
2 parents a87140a + b9cfe38 commit b991a5e

File tree

3 files changed

+28
-17
lines changed

3 files changed

+28
-17
lines changed

pkgs/by-name/im/immich-machine-learning/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ python.pkgs.buildPythonApplication rec {
2222
];
2323

2424
build-system = with python.pkgs; [
25-
poetry-core
25+
hatchling
2626
cython
2727
];
2828

pkgs/by-name/im/immich/package.nix

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@ let
120120
sourceRoot = "${src.name}/web";
121121
inherit (sources.components.web) npmDepsHash;
122122

123+
# prePatch is needed because npmConfigHook is a postPatch
124+
prePatch = ''
125+
# some part of the build wants to use un-prefixed binaries. let them.
126+
mkdir -p $TMP/bin
127+
ln -s "$(type -p ${stdenv.cc.targetPrefix}pkg-config)" $TMP/bin/pkg-config || true
128+
ln -s "$(type -p ${stdenv.cc.targetPrefix}c++filt)" $TMP/bin/c++filt || true
129+
ln -s "$(type -p ${stdenv.cc.targetPrefix}readelf)" $TMP/bin/readelf || true
130+
export PATH="$TMP/bin:$PATH"
131+
'';
132+
123133
preBuild = ''
124134
rm node_modules/@immich/sdk
125135
ln -s ${openapi} node_modules/@immich/sdk
@@ -161,17 +171,18 @@ buildNpmPackage' {
161171
src = "${src}/server";
162172
inherit (sources.components.server) npmDepsHash;
163173

164-
postPatch = ''
174+
# prePatch is needed because npmConfigHook is a postPatch
175+
prePatch = ''
165176
# pg_dumpall fails without database root access
166177
# see https://github.com/immich-app/immich/issues/13971
167178
substituteInPlace src/services/backup.service.ts \
168179
--replace-fail '`/usr/lib/postgresql/''${databaseMajorVersion}/bin/pg_dumpall`' '`pg_dump`'
169180
170181
# some part of the build wants to use un-prefixed binaries. let them.
171182
mkdir -p $TMP/bin
172-
ln -s "$(type -p ${stdenv.cc.targetPrefix}pkg-config)" $TMP/bin/pkg-config
173-
ln -s "$(type -p ${stdenv.cc.targetPrefix}c++filt)" $TMP/bin/c++filt
174-
ln -s "$(type -p ${stdenv.cc.targetPrefix}readelf)" $TMP/bin/readelf
183+
ln -s "$(type -p ${stdenv.cc.targetPrefix}pkg-config)" $TMP/bin/pkg-config || true
184+
ln -s "$(type -p ${stdenv.cc.targetPrefix}c++filt)" $TMP/bin/c++filt || true
185+
ln -s "$(type -p ${stdenv.cc.targetPrefix}readelf)" $TMP/bin/readelf || true
175186
export PATH="$TMP/bin:$PATH"
176187
'';
177188

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"version": "1.129.0",
3-
"hash": "sha256-cBTWmbJLbpUPLCfa0WsO87p79mZycS/vxPD55gdEYI4=",
2+
"version": "1.130.3",
3+
"hash": "sha256-qMRX8gwoagZJwhMg/1X+ZItFyC73qxLR8pHujWu1rog=",
44
"components": {
55
"cli": {
6-
"npmDepsHash": "sha256-dMa0ZcLu2oU9jpYl3EEXTz0mY0YoK41mm6o0AGNaroU=",
7-
"version": "2.2.53"
6+
"npmDepsHash": "sha256-l8Aw9V6bwj/kauBmmKGiqytzjGwyXL1qlEg54eQcddQ=",
7+
"version": "2.2.57"
88
},
99
"server": {
10-
"npmDepsHash": "sha256-VoY+/nUtjHcgeD66DHoRR53eTLqLsGrI3V3LCO1H934=",
11-
"version": "1.129.0"
10+
"npmDepsHash": "sha256-4FiD1+lVqth3MNzityx3oAo/LLXkfTaA57vG4KUhUcM=",
11+
"version": "1.130.3"
1212
},
1313
"web": {
14-
"npmDepsHash": "sha256-xRKKRDq0T321tbAGIrVojiVVtjYmg2p2RjoXteRIVoQ=",
15-
"version": "1.129.0"
14+
"npmDepsHash": "sha256-nUMXNdEK8Dyai0/NKcXD8bB+aH/ZeiDcQmRKVzo9cqc=",
15+
"version": "1.130.3"
1616
},
1717
"open-api/typescript-sdk": {
18-
"npmDepsHash": "sha256-ZcsVTxmMzy3fGlnHMUIzZxyXw9rDgWMcfeqqkYuF7hQ=",
19-
"version": "1.129.0"
18+
"npmDepsHash": "sha256-B8NqGLgmT126Cf0uPx4Eka60i3mNPskvHnfVTEqf0BY=",
19+
"version": "1.130.3"
2020
},
2121
"geonames": {
22-
"timestamp": "20250306005539",
23-
"hash": "sha256-2JYoUVF2w4RCyPn/PRoJ0/bv/hADwoLhrwY1K/51c64="
22+
"timestamp": "20250325151913",
23+
"hash": "sha256-bg+KON+ydWlRJ8MsIL7Ue0c97aqiiItuK8+kFngd6W0="
2424
}
2525
}
2626
}

0 commit comments

Comments
 (0)