Skip to content

Commit 52b3c72

Browse files
committed
cinny-unwrapped: pin Node 20
1 parent 3a50c5b commit 52b3c72

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/by-name/ci/cinny-unwrapped/package.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
pango,
1111
stdenv,
1212
olm,
13+
nodejs_20,
1314
}:
1415

1516
buildNpmPackage rec {
@@ -23,6 +24,10 @@ buildNpmPackage rec {
2324
hash = "sha256-BoUQURCfEu5kocMm8T25cVl8hgZGxcxrMzQZOl2fAbY=";
2425
};
2526

27+
# canvas, a transitive dependency of cinny, fails to build with Node 22
28+
# https://github.com/Automattic/node-canvas/issues/2448
29+
nodejs = nodejs_20;
30+
2631
npmDepsHash = "sha256-fDoia6evCmXZgeIKL0coRo3yunX1dfud31ROgmop2Sc=";
2732

2833
# Fix error: no member named 'aligned_alloc' in the global namespace

0 commit comments

Comments
 (0)