diff options
author | Andrey Kuznetsov <fear@loathing.in> | 2021-04-26 12:42:59 +0300 |
---|---|---|
committer | Andrey Kuznetsov <fear@loathing.in> | 2021-04-28 12:10:43 +0300 |
commit | 9b2ec3bc7244bab24d268a9f6b13691ececf4e78 (patch) | |
tree | 1d6983a5d1309141a84826dbe536587e4f5055dd /pkgs/tools/misc/ffsend | |
parent | ee04d772e494e66c3748de3ba4620a35176172e7 (diff) |
ffsend: fix build on darwin
Diffstat (limited to 'pkgs/tools/misc/ffsend')
-rw-r--r-- | pkgs/tools/misc/ffsend/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/misc/ffsend/default.nix b/pkgs/tools/misc/ffsend/default.nix index ff1c4c7b89224..75e1084e0bda2 100644 --- a/pkgs/tools/misc/ffsend/default.nix +++ b/pkgs/tools/misc/ffsend/default.nix @@ -1,5 +1,6 @@ { lib, stdenv, fetchFromGitLab, rustPlatform, cmake, pkg-config, openssl -, darwin, installShellFiles +, installShellFiles +, CoreFoundation, CoreServices, Security, AppKit, libiconv , x11Support ? stdenv.isLinux || stdenv.hostPlatform.isBSD , xclip ? null, xsel ? null @@ -29,7 +30,7 @@ buildRustPackage rec { nativeBuildInputs = [ cmake pkg-config installShellFiles ]; buildInputs = - if stdenv.isDarwin then (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security AppKit ]) + if stdenv.isDarwin then [ libiconv CoreFoundation CoreServices Security AppKit ] else [ openssl ]; preBuild = lib.optionalString (x11Support && usesX11) ( |