diff options
author | Peter Hoeg <peter@hoeg.com> | 2023-11-20 11:48:19 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-11-20 18:42:18 +0100 |
commit | 1156cd9e9b57e2f5a11564c6cf64b86b01fae17a (patch) | |
tree | 06b3af2d8237e89e3039940ccb4fdb275b220a9c /pkgs | |
parent | c4376a9f3a3937f91ff9361d4cfd0206da35ecb1 (diff) |
msmtp: support not bringing in the additional scripts
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/msmtp/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/applications/networking/msmtp/default.nix b/pkgs/applications/networking/msmtp/default.nix index 479d0980919c5..174fa5e9d9f57 100644 --- a/pkgs/applications/networking/msmtp/default.nix +++ b/pkgs/applications/networking/msmtp/default.nix @@ -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 |