mono: fix broken mono4 build on Darwin

This commit is contained in:
Randy Eckenrode 2022-06-01 18:30:17 -04:00
parent 1622a6cdeb
commit 9ce157afc8
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -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 ];
})