From 452816f963227be82d2eb223ee84edc8455d4bbf Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Fri, 24 Jan 2025 08:25:56 +0100 Subject: [PATCH] mono: mark cross as broken --- pkgs/development/compilers/mono/generic.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/mono/generic.nix b/pkgs/development/compilers/mono/generic.nix index ffa2d78bab18..087d79cd04cc 100644 --- a/pkgs/development/compilers/mono/generic.nix +++ b/pkgs/development/compilers/mono/generic.nix @@ -129,11 +129,15 @@ stdenv.mkDerivation rec { inherit enableParallelBuilding; meta = with lib; { - # Per nixpkgs#151720 the build failures for aarch64-darwin are fixed since 6.12.0.129 + # Per nixpkgs#151720 the build failures for aarch64-darwin are fixed since 6.12.0.129. + # Cross build is broken due to attempt to execute cert-sync built for the host. broken = - stdenv.hostPlatform.isDarwin - && stdenv.hostPlatform.isAarch64 - && lib.versionOlder version "6.12.0.129"; + ( + stdenv.hostPlatform.isDarwin + && stdenv.hostPlatform.isAarch64 + && lib.versionOlder version "6.12.0.129" + ) + || !stdenv.buildPlatform.canExecute stdenv.hostPlatform; homepage = "https://mono-project.com/"; description = "Cross platform, open source .NET development framework"; platforms = with platforms; darwin ++ linux;