newt: Don't use stdenv.cross

This commit is contained in:
hsloan 2017-06-28 16:22:44 -04:00 committed by John Ericson
parent 9d56714419
commit 8b726dc116

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lncurses";
crossAttrs = {
makeFlags = "CROSS_COMPILE=${stdenv.cross.config}-";
makeFlags = "CROSS_COMPILE=${stdenv.cc.prefix}";
};
meta = with stdenv.lib; {