about summary refs log tree commit diff
path: root/pkgs/by-name/re/realvnc-vnc-viewer/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/re/realvnc-vnc-viewer/package.nix')
-rw-r--r--pkgs/by-name/re/realvnc-vnc-viewer/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/re/realvnc-vnc-viewer/package.nix b/pkgs/by-name/re/realvnc-vnc-viewer/package.nix
index 6e1dc6762b14..d6a916df0ae0 100644
--- a/pkgs/by-name/re/realvnc-vnc-viewer/package.nix
+++ b/pkgs/by-name/re/realvnc-vnc-viewer/package.nix
@@ -20,5 +20,5 @@ let
     mainProgram = "vncviewer";
   };
 in
-if stdenv.isDarwin then callPackage ./darwin.nix { inherit pname version meta; }
+if stdenv.hostPlatform.isDarwin then callPackage ./darwin.nix { inherit pname version meta; }
 else callPackage ./linux.nix { inherit pname version meta; }