about summary refs log tree commit diff
path: root/pkgs/development/compilers/mono/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/mono/generic.nix')
-rw-r--r--pkgs/development/compilers/mono/generic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/mono/generic.nix b/pkgs/development/compilers/mono/generic.nix
index 42c519e5021c..44fb05329030 100644
--- a/pkgs/development/compilers/mono/generic.nix
+++ b/pkgs/development/compilers/mono/generic.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
     ncurses
     zlib
     bash
-  ] ++ lib.optionals stdenv.isDarwin [ Foundation libobjc ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Foundation libobjc ];
 
   configureFlags = [
     "--x-includes=${libX11.dev}/include"
@@ -94,7 +94,7 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     # Per nixpkgs#151720 the build failures for aarch64-darwin are fixed since 6.12.0.129
-    broken = stdenv.isDarwin && stdenv.isAarch64 && lib.versionOlder version "6.12.0.129";
+    broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.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;