Merge pull request #34206 from dtzWill/fix/moe-libcxx

moe: fix build w/libc++ using touchup from mailing list
This commit is contained in:
Graham Christensen 2018-01-24 15:55:08 -05:00 committed by GitHub
commit 0e7a5207ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

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 ];