Skip to content

Commit

Permalink
immich: use Node.js 20 (NixOS#369042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrumplex authored Dec 29, 2024
2 parents 23aa77b + 7bf88be commit 17a08ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/by-name/im/immich/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
fetchFromGitHub,
fetchpatch2,
python3,
nodejs,
nodejs_20,
node-gyp,
runCommand,
nixosTests,
Expand All @@ -27,6 +27,7 @@
vips,
}:
let
nodejs = nodejs_20;
buildNpmPackage' = buildNpmPackage.override { inherit nodejs; };
sources = lib.importJSON ./sources.json;
inherit (sources) version;
Expand Down Expand Up @@ -186,7 +187,7 @@ buildNpmPackage' {
mkdir node_modules
ln -s ${node-addon-api} node_modules/node-addon-api
${lib.getExe nodejs} install/check
node install/check
rm -r node_modules
Expand Down

0 comments on commit 17a08ed

Please sign in to comment.