git: fix failing build on Darwin

This commit is contained in:
Randy Eckenrode
2022-04-25 14:33:46 -04:00
parent 073cad8fd6
commit 0e5763e31b
2 changed files with 3 additions and 2 deletions
@@ -13,7 +13,7 @@
, pythonSupport ? true
, withpcre2 ? true
, sendEmailSupport ? false
, darwin
, Security, CoreServices
, nixosTests
, withLibsecret ? false
, pkg-config, glib, libsecret
@@ -79,7 +79,7 @@ stdenv.mkDerivation {
++ lib.optionals perlSupport [ perlPackages.perl ]
++ lib.optionals guiSupport [tcl tk]
++ lib.optionals withpcre2 [ pcre2 ]
++ lib.optionals stdenv.isDarwin [ darwin.Security ]
++ lib.optionals stdenv.isDarwin [ Security CoreServices ]
++ lib.optionals withLibsecret [ pkg-config glib libsecret ];
# required to support pthread_cancel()
+1
View File
@@ -26495,6 +26495,7 @@ with pkgs;
};
git = callPackage ../applications/version-management/git-and-tools/git {
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
smtpPerlLibs = [
perlPackages.libnet perlPackages.NetSMTPSSL