moe: fix build w/libc++ using touchup from mailing list

http://lists.gnu.org/archive/html/bug-moe/2017-10/msg00000.html
This commit is contained in:
Will Dietz 2017-11-08 05:20:42 -06:00
parent c32755ceac
commit 630b142ef4

View File

@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
sha256 = "1wsfzy0iia0c89wnx1ilzw54wqcmlp2nz8mkpvc393z0zagrx48q";
};
prePatch = ''
substituteInPlace window_vector.cc --replace \
"insert( 0U, 1," \
"insert( 0U, 1U,"
'';
nativeBuildInputs = [ lzip ];
buildInputs = [ ncurses ];