msmtp: support not bringing in the additional scripts
This commit is contained in:
parent
c4376a9f3a
commit
1156cd9e9b
1 changed files with 9 additions and 6 deletions
|
@ -19,6 +19,7 @@
|
||||||
, libsecret
|
, libsecret
|
||||||
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
||||||
, systemd
|
, systemd
|
||||||
|
, withScripts ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -124,9 +125,11 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
symlinkJoin {
|
if withScripts then
|
||||||
name = "msmtp-${version}";
|
symlinkJoin
|
||||||
inherit version meta;
|
{
|
||||||
paths = [ binaries scripts ];
|
name = "msmtp-${version}";
|
||||||
passthru = { inherit binaries scripts; };
|
inherit version meta;
|
||||||
}
|
paths = [ binaries scripts ];
|
||||||
|
passthru = { inherit binaries scripts; };
|
||||||
|
} else binaries
|
||||||
|
|
Loading…
Reference in a new issue