summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-11-08 05:20:42 -0600
committerWill Dietz <w@wdtz.org>2018-01-23 13:18:19 -0600
commit630b142ef4ebc47ff8f245aacfa2d4fdcb687af3 (patch)
tree04c2a73a6f7d78c78b542ebe8b2b563fdaa1c9ad
parentc32755ceaca46cb30d45a0d06b366da745f4bf6b (diff)
downloadnixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.tar
nixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.tar.gz
nixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.tar.bz2
nixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.tar.lz
nixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.tar.xz
nixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.tar.zst
nixlib-630b142ef4ebc47ff8f245aacfa2d4fdcb687af3.zip
moe: fix build w/libc++ using touchup from mailing list
http://lists.gnu.org/archive/html/bug-moe/2017-10/msg00000.html
-rw-r--r--pkgs/applications/editors/moe/default.nix6
1 files changed, 6 insertions, 0 deletions
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 ];