Skip to content

Commit 6f68eb7

Browse files
author
Peter Hoeg
committedMar 8, 2017
msmtp: use netcat-gnu to unbreak darwin
1 parent 722b129 commit 6f68eb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎pkgs/applications/networking/msmtp/default.nix

+3-2
Original file line numberDiff line numberDiff line change
@@ -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

45
let
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}

0 commit comments

Comments
 (0)
Please sign in to comment.