Merge pull request #175865 from reckenrode/darwin-mono-fix
mono: fix build on Darwin
This commit is contained in:
commit
85572bc862
|
@ -1,9 +1,9 @@
|
|||
{ callPackage, Foundation, libobjc }:
|
||||
{ callPackage, Foundation, libobjc, stdenv, lib }:
|
||||
|
||||
callPackage ./generic.nix ({
|
||||
inherit Foundation libobjc;
|
||||
version = "4.8.1.0";
|
||||
sha256 = "1vyvp2g28ihcgxgxr8nhzyzdmzicsh5djzk8dk1hj5p5f2k3ijqq";
|
||||
enableParallelBuilding = false; # #32386, https://hydra.nixos.org/build/65600645
|
||||
extraPatches = [ ./mono4-glibc.patch ];
|
||||
extraPatches = lib.optionals stdenv.isLinux [ ./mono4-glibc.patch ];
|
||||
})
|
||||
|
|
|
@ -76,7 +76,9 @@ stdenv.mkDerivation rec {
|
|||
inherit enableParallelBuilding;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
# Per nixpkgs#151720 the build failures for aarch64-darwin are fixed upstream, but a
|
||||
# stable release with the fix is not available yet.
|
||||
broken = stdenv.isDarwin && stdenv.isAarch64 && lib.versionOlder version "6.12.0.129";
|
||||
homepage = "https://mono-project.com/";
|
||||
description = "Cross platform, open source .NET development framework";
|
||||
platforms = with platforms; darwin ++ linux;
|
||||
|
|
Loading…
Reference in a new issue