mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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,
|
||||
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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user