From 630b142ef4ebc47ff8f245aacfa2d4fdcb687af3 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 8 Nov 2017 05:20:42 -0600 Subject: [PATCH] moe: fix build w/libc++ using touchup from mailing list http://lists.gnu.org/archive/html/bug-moe/2017-10/msg00000.html --- pkgs/applications/editors/moe/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/editors/moe/default.nix b/pkgs/applications/editors/moe/default.nix index a1506eb9d6cc..751b78ab674b 100644 --- a/pkgs/applications/editors/moe/default.nix +++ b/pkgs/applications/editors/moe/default.nix @@ -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 ];