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