mirror of
https://github.com/Smaug123/nix-dotfiles
synced 2025-10-05 14:48:38 +00:00
12 lines
297 B
Nix
12 lines
297 B
Nix
{pkgs}:
|
|
pkgs.buildEnv {
|
|
name = "isync-oauth2";
|
|
paths = [pkgs.isync];
|
|
pathsToLink = ["/bin"];
|
|
nativeBuildInputs = [pkgs.makeWrapper];
|
|
postBuild = ''
|
|
wrapProgram "$out/bin/mbsync" \
|
|
--prefix SASL_PATH : "${pkgs.cyrus_sasl}/lib/sasl2:${pkgs.cyrus-sasl-xoauth2}/lib/sasl2"
|
|
'';
|
|
}
|