forked from mirrors/nixpkgs
newt: Don't use stdenv.cross
This commit is contained in:
parent
9d56714419
commit
8b726dc116
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||||
NIX_LDFLAGS = "-lncurses";
|
NIX_LDFLAGS = "-lncurses";
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
makeFlags = "CROSS_COMPILE=${stdenv.cross.config}-";
|
makeFlags = "CROSS_COMPILE=${stdenv.cc.prefix}";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue