git.iko.soy/typeable/nixpkgs
on master help sign in
msmtp: use netcat-gnu to unbreak darwin
commit6f68eb7c7ec8f17e33a93330c4a387e8bc8048c6 authorPeter Hoeg <peter@speartail.com> dateWed 8 Mar 2017, 15:35 (10 years ago) parent722b129
1 file changed+3−2
pkgs/applications/networking/msmtp/default.nix+3−2
pkgs/applications/networking/msmtp/default.nix+3−2
@@ -1,5 +1,6 @@
11{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig
2−, openssl, netcat, gnutls, gsasl, libidn, Security, systemd }:
2+, openssl, netcat-gnu, gnutls, gsasl, libidn, Security
3+, systemd ? null }:
34
45let
56 tester = "n"; # {x| |p|P|n|s}
@@ -28,7 +29,7 @@ in stdenv.mkDerivation rec {
2829 postInstall = ''
2930 substitute scripts/msmtpq/msmtpq $out/bin/msmtpq \
3031 --replace @msmtp@ $out/bin/msmtp \
31− --replace @nc@ ${netcat}/bin/nc \
32+ --replace @nc@ ${netcat-gnu}/bin/nc \
3233 --replace @journal@ ${journal} \
3334 ${lib.optionalString (journal == "y") "--replace @systemdcat@ ${systemd}/bin/systemd-cat" } \
3435 --replace @test@ ${tester}