python3Packages.fonttools: Only pull in skia-pathops when it's available (#446471)

This commit is contained in:
Cosima Neidahl
2025-09-27 19:10:11 +00:00
committed by GitHub
@@ -61,7 +61,7 @@ buildPythonPackage rec {
plot = [ matplotlib ];
symfont = [ sympy ];
type1 = lib.optional stdenv.hostPlatform.isDarwin xattr;
pathops = [ skia-pathops ];
pathops = lib.optional (lib.meta.availableOn stdenv.hostPlatform skia-pathops) skia-pathops;
repacker = [ uharfbuzz ];
};
in