Commit 7bf2534d authored by Stanisław Pitucha's avatar Stanisław Pitucha
Browse files

copycat: fix darwin build

Add the required framework.
parent 7a330d7d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  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";