From 097ec65336c63730bad1f7f72e45619183f29ddf Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 11 Oct 2022 09:55:39 +0100 Subject: [PATCH] teleport: fix for darwin --- pkgs/servers/teleport/default.nix | 3 ++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/teleport/default.nix b/pkgs/servers/teleport/default.nix index cf6701fba687..8cc67a1ff6ec 100644 --- a/pkgs/servers/teleport/default.nix +++ b/pkgs/servers/teleport/default.nix @@ -5,6 +5,7 @@ , makeWrapper , symlinkJoin , CoreFoundation +, AppKit , libfido2 , openssl , pkg-config @@ -68,7 +69,7 @@ buildGoModule rec { ++ lib.optional withRdpClient "desktop_access_rdp"; buildInputs = [ openssl libfido2 ] - ++ lib.optionals (stdenv.isDarwin && withRdpClient) [ CoreFoundation Security ]; + ++ lib.optionals (stdenv.isDarwin && withRdpClient) [ CoreFoundation Security AppKit ]; nativeBuildInputs = [ makeWrapper pkg-config ]; patches = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a63f783a98e0..d9201c293298 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11718,7 +11718,7 @@ with pkgs; }; teleport = callPackage ../servers/teleport { - inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; + inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit; }; telepresence = callPackage ../tools/networking/telepresence {