ts: Rely on cc-wrapper to export this env var
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{stdenv, fetchurl,
|
||||
sendmailPath ? "/run/wrappers/bin/sendmail" }:
|
||||
{ stdenv, fetchurl
|
||||
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -7,10 +8,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase=''make install "PREFIX=$out"'';
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = "CC=${stdenv.cross.config}-gcc";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user