Skip to content

Commit 17a08ed

Browse files
authored
immich: use Node.js 20 (NixOS#369042)
2 parents 23aa77b + 7bf88be commit 17a08ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
fetchFromGitHub,
66
fetchpatch2,
77
python3,
8-
nodejs,
8+
nodejs_20,
99
node-gyp,
1010
runCommand,
1111
nixosTests,
@@ -27,6 +27,7 @@
2727
vips,
2828
}:
2929
let
30+
nodejs = nodejs_20;
3031
buildNpmPackage' = buildNpmPackage.override { inherit nodejs; };
3132
sources = lib.importJSON ./sources.json;
3233
inherit (sources) version;
@@ -186,7 +187,7 @@ buildNpmPackage' {
186187
mkdir node_modules
187188
ln -s ${node-addon-api} node_modules/node-addon-api
188189
189-
${lib.getExe nodejs} install/check
190+
node install/check
190191
191192
rm -r node_modules
192193

0 commit comments

Comments
 (0)