copycat: fix darwin build (#348722)

This commit is contained in:
Aleksana
2024-10-17 11:38:55 +08:00
committed by GitHub
+6
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";