msmtp: use netcat-gnu to unbreak darwin
This commit is contained in:
parent
722b129652
commit
6f68eb7c7e
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig
|
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig
|
||||||
, openssl, netcat, gnutls, gsasl, libidn, Security, systemd }:
|
, openssl, netcat-gnu, gnutls, gsasl, libidn, Security
|
||||||
|
, systemd ? null }:
|
||||||
|
|
||||||
let
|
let
|
||||||
tester = "n"; # {x| |p|P|n|s}
|
tester = "n"; # {x| |p|P|n|s}
|
||||||
@ -28,7 +29,7 @@ in stdenv.mkDerivation rec {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
substitute scripts/msmtpq/msmtpq $out/bin/msmtpq \
|
substitute scripts/msmtpq/msmtpq $out/bin/msmtpq \
|
||||||
--replace @msmtp@ $out/bin/msmtp \
|
--replace @msmtp@ $out/bin/msmtp \
|
||||||
--replace @nc@ ${netcat}/bin/nc \
|
--replace @nc@ ${netcat-gnu}/bin/nc \
|
||||||
--replace @journal@ ${journal} \
|
--replace @journal@ ${journal} \
|
||||||
${lib.optionalString (journal == "y") "--replace @systemdcat@ ${systemd}/bin/systemd-cat" } \
|
${lib.optionalString (journal == "y") "--replace @systemdcat@ ${systemd}/bin/systemd-cat" } \
|
||||||
--replace @test@ ${tester}
|
--replace @test@ ${tester}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user