diff --git a/pkgs/development/libraries/libxml2/common.nix b/pkgs/development/libraries/libxml2/common.nix index 4b2f04bbc8f08..88751671c479a 100644 --- a/pkgs/development/libraries/libxml2/common.nix +++ b/pkgs/development/libraries/libxml2/common.nix @@ -120,6 +120,13 @@ stdenv'.mkDerivation (finalAttrs: { moveToOutput lib/libxml2.a "$static" ''; + # TODO: Drop this; works around code signing issue on `staging-next-25.11`. + rebuildHack = + if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 && pythonSupport then + true + else + null; + passthru = { inherit pythonSupport;