From 9ce157afc89e8a146d1cb5581db5a6c2bd1a51cf Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Wed, 1 Jun 2022 18:30:17 -0400 Subject: [PATCH] mono: fix broken mono4 build on Darwin --- pkgs/development/compilers/mono/4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/mono/4.nix b/pkgs/development/compilers/mono/4.nix index 02c6177c9df0..0b283d4f1778 100644 --- a/pkgs/development/compilers/mono/4.nix +++ b/pkgs/development/compilers/mono/4.nix @@ -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 ]; })