teleport: fix for darwin

This commit is contained in:
06kellyjac 2022-10-11 09:55:39 +01:00
parent ef0ed284ea
commit 097ec65336
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
, makeWrapper , makeWrapper
, symlinkJoin , symlinkJoin
, CoreFoundation , CoreFoundation
, AppKit
, libfido2 , libfido2
, openssl , openssl
, pkg-config , pkg-config
@ -68,7 +69,7 @@ buildGoModule rec {
++ lib.optional withRdpClient "desktop_access_rdp"; ++ lib.optional withRdpClient "desktop_access_rdp";
buildInputs = [ openssl libfido2 ] buildInputs = [ openssl libfido2 ]
++ lib.optionals (stdenv.isDarwin && withRdpClient) [ CoreFoundation Security ]; ++ lib.optionals (stdenv.isDarwin && withRdpClient) [ CoreFoundation Security AppKit ];
nativeBuildInputs = [ makeWrapper pkg-config ]; nativeBuildInputs = [ makeWrapper pkg-config ];
patches = [ patches = [

View File

@ -11718,7 +11718,7 @@ with pkgs;
}; };
teleport = callPackage ../servers/teleport { teleport = callPackage ../servers/teleport {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit;
}; };
telepresence = callPackage ../tools/networking/telepresence { telepresence = callPackage ../tools/networking/telepresence {