From f2ffd24d2a08a2e588cd8f65385df5e468bf323e Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:48:32 -0800 Subject: [PATCH] cotp: use new Darwin SDK pattern --- pkgs/applications/misc/cotp/default.nix | 4 +--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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;