From d8a422c296b6d589c7be3da6ac6c78f6d8045eec Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Wed, 10 Sep 2025 15:20:40 +0100 Subject: [PATCH] python3Packages.craft-parts: fix builds on aarch64 --- pkgs/development/python-modules/craft-parts/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/craft-parts/default.nix b/pkgs/development/python-modules/craft-parts/default.nix index cc2f8c0c175f..d373ffb87035 100644 --- a/pkgs/development/python-modules/craft-parts/default.nix +++ b/pkgs/development/python-modules/craft-parts/default.nix @@ -92,6 +92,11 @@ buildPythonPackage rec { "test_get_build_packages" # Relies upon certain paths being present that don't make sense on Nix. "test_java_plugin_jre_not_17" + ] + ++ lib.optionals stdenv.hostPlatform.isAarch64 [ + # This test is flaky on arm64, I think due to a mock library misbehaving + # on arm64. + "test_get_build_commands_is_reentrant" ]; disabledTestPaths = [