Skip to content

Commit

Permalink
isync: use finalAttrs pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeqq2 authored and peterhoeg committed Sep 19, 2024
1 parent 5134436 commit 223f611
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/tools/networking/isync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
, withCyrusSaslXoauth2 ? false, cyrus-sasl-xoauth2, makeWrapper
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "isync";
version = "1.5.0";

src = fetchurl {
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
sha256 = "oMgeEJOHvyedoWFFMQM5nneUav7PXFH5QTxedzVX940=";
url = "mirror://sourceforge/isync/isync-${finalAttrs.version}.tar.gz";
hash = "sha256-oMgeEJOHvyedoWFFMQM5nneUav7PXFH5QTxedzVX940=";
};


# Fixes "Fatal: buffer too small" error
# see https://sourceforge.net/p/isync/mailman/isync-devel/thread/87fsevvebj.fsf%40steelpick.2x.cz/
env.NIX_CFLAGS_COMPILE = "-DQPRINTF_BUFF=4000";

nativeBuildInputs = [ pkg-config perl ]
Expand Down Expand Up @@ -44,4 +44,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ primeos ];
mainProgram = "mbsync";
};
}
})

0 comments on commit 223f611

Please sign in to comment.