tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
msmtp: use netcat-gnu to unbreak darwin
Peter Hoeg
9 years ago
6f68eb7c
722b1296
+3
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
msmtp
default.nix
+3
-2
pkgs/applications/networking/msmtp/default.nix
···
1
1
{ stdenv, lib, fetchurl, autoreconfHook, pkgconfig
2
2
-
, openssl, netcat, gnutls, gsasl, libidn, Security, systemd }:
2
2
+
, openssl, netcat-gnu, gnutls, gsasl, libidn, Security
3
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
31
-
--replace @nc@ ${netcat}/bin/nc \
32
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}