forked from mirrors/nixpkgs
Fix tmux cross-build
svn path=/nixpkgs/trunk/; revision=30585
This commit is contained in:
parent
96e436d6a3
commit
36ae9193c4
|
@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = "PREFIX=\${out}";
|
||||
|
||||
crossAttrs = {
|
||||
preBuild = ''
|
||||
makeFlags=" $makeFlags CC=${stdenv.cross.config}-gcc "
|
||||
'';
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses libevent ];
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue