Commit 1156cd9e authored by Peter Hoeg's avatar Peter Hoeg Committed by Bjørn Forsman
Browse files

msmtp: support not bringing in the additional scripts

parent c4376a9f
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
, libsecret
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, withScripts ? true
}:

let
@@ -124,9 +125,11 @@ let
  };

in
symlinkJoin {
if withScripts then
  symlinkJoin
  {
    name = "msmtp-${version}";
    inherit version meta;
    paths = [ binaries scripts ];
    passthru = { inherit binaries scripts; };
}
  } else binaries