Skip to content

Commit fd8333a

Browse files
committed
fix: Add dependencies of canvas NodeJS library
Add additional darwin dependencies to fix the node-canvas install script failing with missing dependency errors.
1 parent 294bf0b commit fd8333a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

devenv.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
libgcc
2424
] else [];
2525
darwin-only-pkgs = if pkgs.stdenv.isDarwin then with pkgs; [
26-
] else [];
26+
pixman
27+
cairo
28+
pango
29+
] ++ (with pkgs.darwin.apple_sdk.frameworks; [
30+
CoreText
31+
]) else [];
2732
in system-packages ++ python-packages ++ linux-only-pkgs ++ darwin-only-pkgs;
2833

2934
enterShell = ''

0 commit comments

Comments
 (0)