diff --git a/pkgs/applications/misc/cotp/default.nix b/pkgs/applications/misc/cotp/default.nix index bc9503d0d106..e7880a90412f 100644 --- a/pkgs/applications/misc/cotp/default.nix +++ b/pkgs/applications/misc/cotp/default.nix @@ -2,7 +2,6 @@ , stdenv , rustPlatform , fetchFromGitHub -, AppKit , libxcb }: @@ -19,8 +18,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8="; - buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ]; + buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]; meta = with lib; { homepage = "https://github.com/replydev/cotp"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1b8681f5cc03..951e228ceed4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -292,9 +292,7 @@ with pkgs; cloak = callPackage ../applications/misc/cloak { }; - cotp = callPackage ../applications/misc/cotp { - inherit (darwin.apple_sdk.frameworks) AppKit; - }; + cotp = callPackage ../applications/misc/cotp { }; cope = callPackage ../by-name/co/cope/package.nix { perl = perl538;