about summary refs log tree commit diff
path: root/pkgs/servers/teleport/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/teleport/generic.nix')
-rw-r--r--pkgs/servers/teleport/generic.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/teleport/generic.nix b/pkgs/servers/teleport/generic.nix
index 87719f03eb72..2fcdc7f4a655 100644
--- a/pkgs/servers/teleport/generic.nix
+++ b/pkgs/servers/teleport/generic.nix
@@ -54,7 +54,7 @@ let
     buildAndTestSubdir = "lib/srv/desktop/rdp/rdpclient";
 
     buildInputs = [ openssl ]
-      ++ lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
+      ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation Security ];
     nativeBuildInputs = [ pkg-config ];
 
     # https://github.com/NixOS/nixpkgs/issues/161570 ,
@@ -144,7 +144,7 @@ buildGoModule rec {
     ++ lib.optional withRdpClient "desktop_access_rdp";
 
   buildInputs = [ openssl libfido2 ]
-    ++ lib.optionals (stdenv.isDarwin && withRdpClient) [ CoreFoundation Security AppKit ];
+    ++ lib.optionals (stdenv.hostPlatform.isDarwin && withRdpClient) [ CoreFoundation Security AppKit ];
   nativeBuildInputs = [ makeWrapper pkg-config ];
 
   patches = extPatches ++ [