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
|
||||
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
|
||||
, systemd
|
||||
, withScripts ? true
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -124,9 +125,11 @@ let
|
|||
};
|
||||
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "msmtp-${version}";
|
||||
inherit version meta;
|
||||
paths = [ binaries scripts ];
|
||||
passthru = { inherit binaries scripts; };
|
||||
}
|
||||
if withScripts then
|
||||
symlinkJoin
|
||||
{
|
||||
name = "msmtp-${version}";
|
||||
inherit version meta;
|
||||
paths = [ binaries scripts ];
|
||||
passthru = { inherit binaries scripts; };
|
||||
} else binaries
|
||||
|
|
Loading…
Reference in a new issue