Merge pull request #40802 from knedlsepp/fix-git-dit-on-darwin

gitAndTools.git-dit: Fix darwin build
This commit is contained in:
Jörg Thalheim
2018-05-20 11:32:23 +01:00
committed by GitHub
2 changed files with 12 additions and 1 deletions

View File

@@ -67,7 +67,9 @@ rec {
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 { };

View File

@@ -8,6 +8,10 @@
, perl
, pkgconfig
, rustPlatform
, curl
, libiconv
, CoreFoundation
, Security
}:
with rustPlatform;
@@ -35,6 +39,11 @@ buildRustPackage rec {
openssl
libssh
zlib
] ++ stdenv.lib.optionals (stdenv.isDarwin) [
curl
libiconv
CoreFoundation
Security
];
meta = with stdenv.lib; {