From 4a9f3c459610178fba3ed7102af1c3722b9a6f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Tue, 20 Aug 2024 18:48:21 +0200 Subject: [PATCH] inkex: fix tests on darwin --- pkgs/development/python-modules/inkex/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/inkex/default.nix b/pkgs/development/python-modules/inkex/default.nix index 154848eae351..c796a0136953 100644 --- a/pkgs/development/python-modules/inkex/default.nix +++ b/pkgs/development/python-modules/inkex/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, inkscape, fetchpatch, @@ -62,10 +63,16 @@ buildPythonPackage { scour ]; - disabledTests = [ - "test_extract_multiple" - "test_lookup_and" - ]; + disabledTests = + [ + "test_extract_multiple" + "test_lookup_and" + ] + ++ lib.optional stdenv.isDarwin [ + "test_image_extract" + "test_path_number_nodes" + "test_plotter" # Hangs + ]; disabledTestPaths = [ # Fatal Python error: Segmentation fault