diff --git a/pkgs/development/python-modules/fonttools/default.nix b/pkgs/development/python-modules/fonttools/default.nix index ba9929caacce..88789f6b57f3 100644 --- a/pkgs/development/python-modules/fonttools/default.nix +++ b/pkgs/development/python-modules/fonttools/default.nix @@ -57,12 +57,14 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook - ] ++ lib.concatLists (lib.attrVals [ + ] ++ lib.concatLists (lib.attrVals ([ "woff" "interpolatable" - "pathops" + ] ++ lib.optionals (!skia-pathops.meta.broken) [ + "pathops" # broken + ] ++ [ "repacker" - ] passthru.optional-dependencies); + ]) passthru.optional-dependencies); pythonImportsCheck = [ "fontTools" ]; diff --git a/pkgs/development/python-modules/skia-pathops/default.nix b/pkgs/development/python-modules/skia-pathops/default.nix index 53d1fb1227d7..28a67e67d91a 100644 --- a/pkgs/development/python-modules/skia-pathops/default.nix +++ b/pkgs/development/python-modules/skia-pathops/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , cython , ninja @@ -39,5 +40,6 @@ buildPythonPackage rec { homepage = "https://skia.org/dev/present/pathops"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.BarinovMaxim ]; + broken = stdenv.isDarwin && stdenv.isAarch64; # clang-11: error: the clang compiler does not support '-march=armv7-a' }; }