Fix tmux cross-build

svn path=/nixpkgs/trunk/; revision=30585
This commit is contained in:
Michael Raskin 2011-11-28 15:58:45 +00:00
parent 96e436d6a3
commit 36ae9193c4

View file

@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
makeFlags = "PREFIX=\${out}";
crossAttrs = {
preBuild = ''
makeFlags=" $makeFlags CC=${stdenv.cross.config}-gcc "
'';
};
buildInputs = [ ncurses libevent ];
meta = {