copycat: fix darwin build

Add the required framework.
This commit is contained in:
Stanisław Pitucha 2024-10-15 18:56:28 +11:00
parent 7a330d7d74
commit 7bf2534de6

View File

@ -1,7 +1,9 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
darwin,
}:
rustPlatform.buildRustPackage rec {
@ -17,6 +19,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-LYVhvq5l+PCZXW+elWi3zZFxLekgPn+plo4dybbLK9g=";
buildInputs = lib.optionals (stdenv.isDarwin) [
darwin.apple_sdk_11_0.frameworks.AppKit
];
meta = {
description = "Utility to copy project tree contents to clipboard";
homepage = "https://github.com/DeeKahy/CopyCat";