about summary refs log tree commit diff
path: root/pkgs/by-name/un/unison/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/un/unison/package.nix')
-rw-r--r--pkgs/by-name/un/unison/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/un/unison/package.nix b/pkgs/by-name/un/unison/package.nix
index 400c73e105b4..d0298c7f1584 100644
--- a/pkgs/by-name/un/unison/package.nix
+++ b/pkgs/by-name/un/unison/package.nix
@@ -6,7 +6,7 @@
 , makeDesktopItem
 , wrapGAppsHook3
 , gsettings-desktop-schemas
-, enableX11 ? !stdenv.isDarwin
+, enableX11 ? !stdenv.hostPlatform.isDarwin
 }:
 
 stdenv.mkDerivation (finalAttrs: {
@@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ nevivurn ];
     platforms = platforms.unix;
-    broken = stdenv.isDarwin && enableX11; # unison-gui and uimac are broken on darwin
+    broken = stdenv.hostPlatform.isDarwin && enableX11; # unison-gui and uimac are broken on darwin
     mainProgram = if enableX11 then "unison-gui" else "unison";
   };
 })