Loading pkgs/development/python-modules/dscribe/default.nix +10 −10 Original line number Diff line number Diff line Loading @@ -53,9 +53,14 @@ buildPythonPackage rec { "dscribe.ext" ]; preCheck = # Prevents python from loading dscribe from the current working directory instead of using $out preCheck = '' '' rm -rf dscribe '' # Prevents 'Fatal Python error: Aborted' on darwin during checkPhase + lib.optionalString stdenv.hostPlatform.isDarwin '' export MPLBACKEND="Agg" ''; nativeCheckInputs = [ Loading @@ -72,11 +77,6 @@ buildPythonPackage rec { [ # AssertionError on a numerical test "test_cell_list" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted # matplotlib/backend_bases.py", line 2654 in create_with_canvas "test_examples" ]; # Broken due to use of missing _get_constraints attr in ase >= 3.26.0 Loading Loading
pkgs/development/python-modules/dscribe/default.nix +10 −10 Original line number Diff line number Diff line Loading @@ -53,9 +53,14 @@ buildPythonPackage rec { "dscribe.ext" ]; preCheck = # Prevents python from loading dscribe from the current working directory instead of using $out preCheck = '' '' rm -rf dscribe '' # Prevents 'Fatal Python error: Aborted' on darwin during checkPhase + lib.optionalString stdenv.hostPlatform.isDarwin '' export MPLBACKEND="Agg" ''; nativeCheckInputs = [ Loading @@ -72,11 +77,6 @@ buildPythonPackage rec { [ # AssertionError on a numerical test "test_cell_list" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted # matplotlib/backend_bases.py", line 2654 in create_with_canvas "test_examples" ]; # Broken due to use of missing _get_constraints attr in ase >= 3.26.0 Loading