Skip to content

Commit 7df90d8

Browse files
mono: mark cross as broken (#376976)
2 parents 07a3793 + 452816f commit 7df90d8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pkgs/development/compilers/mono/generic.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,15 @@ stdenv.mkDerivation rec {
129129
inherit enableParallelBuilding;
130130

131131
meta = with lib; {
132-
# Per nixpkgs#151720 the build failures for aarch64-darwin are fixed since 6.12.0.129
132+
# Per nixpkgs#151720 the build failures for aarch64-darwin are fixed since 6.12.0.129.
133+
# Cross build is broken due to attempt to execute cert-sync built for the host.
133134
broken =
134-
stdenv.hostPlatform.isDarwin
135-
&& stdenv.hostPlatform.isAarch64
136-
&& lib.versionOlder version "6.12.0.129";
135+
(
136+
stdenv.hostPlatform.isDarwin
137+
&& stdenv.hostPlatform.isAarch64
138+
&& lib.versionOlder version "6.12.0.129"
139+
)
140+
|| !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
137141
homepage = "https://mono-project.com/";
138142
description = "Cross platform, open source .NET development framework";
139143
platforms = with platforms; darwin ++ linux;

0 commit comments

Comments
 (0)