gitAndTools.git-dit: Fix darwin build
This commit is contained in:
parent
582beb0f3a
commit
3575b82e67
|
@ -67,7 +67,9 @@ rec {
|
||||||
|
|
||||||
git-crypt = callPackage ./git-crypt { };
|
git-crypt = callPackage ./git-crypt { };
|
||||||
|
|
||||||
git-dit = callPackage ./git-dit { };
|
git-dit = callPackage ./git-dit {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||||
|
};
|
||||||
|
|
||||||
git-extras = callPackage ./git-extras { };
|
git-extras = callPackage ./git-extras { };
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
, perl
|
, perl
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
, curl
|
||||||
|
, libiconv
|
||||||
|
, CoreFoundation
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with rustPlatform;
|
with rustPlatform;
|
||||||
|
@ -35,6 +39,11 @@ buildRustPackage rec {
|
||||||
openssl
|
openssl
|
||||||
libssh
|
libssh
|
||||||
zlib
|
zlib
|
||||||
|
] ++ stdenv.lib.optionals (stdenv.isDarwin) [
|
||||||
|
curl
|
||||||
|
libiconv
|
||||||
|
CoreFoundation
|
||||||
|
Security
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue