Skip to content

Commit

Permalink
isync: add git build requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdogzz committed Oct 1, 2024
1 parent a398015 commit 64f1f46
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions pkgs/tools/networking/isync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
withCyrusSaslXoauth2 ? false,
cyrus-sasl-xoauth2,
makeWrapper,
perl538Packages,
autoreconfHook,
}:

stdenv.mkDerivation (finalAttrs: {
Expand All @@ -31,15 +33,22 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = "-DQPRINTF_BUFF=4000";

nativeBuildInputs = [
autoreconfHook
pkg-config
perl
] ++ lib.optionals withCyrusSaslXoauth2 [ makeWrapper ];
buildInputs = [
openssl
db
cyrus_sasl
zlib
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
buildInputs =
with perl538Packages;
[
TimeDate
]
++ [
openssl
db
cyrus_sasl
zlib
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];

postInstall = lib.optionalString withCyrusSaslXoauth2 ''
wrapProgram "$out/bin/mbsync" \
Expand Down

0 comments on commit 64f1f46

Please sign in to comment.