msmtp: use netcat-gnu to unbreak darwin

+3 -2
+3 -2
pkgs/applications/networking/msmtp/default.nix
··· 1 1 { stdenv, lib, fetchurl, autoreconfHook, pkgconfig 2 - , openssl, netcat, gnutls, gsasl, libidn, Security, systemd }: 2 + , openssl, netcat-gnu, gnutls, gsasl, libidn, Security 3 + , systemd ? null }: 3 4 4 5 let 5 6 tester = "n"; # {x| |p|P|n|s} ··· 28 29 postInstall = '' 29 30 substitute scripts/msmtpq/msmtpq $out/bin/msmtpq \ 30 31 --replace @msmtp@ $out/bin/msmtp \ 31 - --replace @nc@ ${netcat}/bin/nc \ 32 + --replace @nc@ ${netcat-gnu}/bin/nc \ 32 33 --replace @journal@ ${journal} \ 33 34 ${lib.optionalString (journal == "y") "--replace @systemdcat@ ${systemd}/bin/systemd-cat" } \ 34 35 --replace @test@ ${tester}