summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-01-24 15:55:08 -0500
committerGitHub <noreply@github.com>2018-01-24 15:55:08 -0500
commit0e7a5207ec9e34adb77e5c9a596be22d6120103e (patch)
treef82befe2b5acf9a7f4989f6a12a84379dd902507
parent75f8ca8337b3215e55619b527ba862ea1d8e2ef5 (diff)
parent630b142ef4ebc47ff8f245aacfa2d4fdcb687af3 (diff)
downloadnixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.tar
nixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.tar.gz
nixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.tar.bz2
nixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.tar.lz
nixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.tar.xz
nixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.tar.zst
nixlib-0e7a5207ec9e34adb77e5c9a596be22d6120103e.zip
Merge pull request #34206 from dtzWill/fix/moe-libcxx
moe: fix build w/libc++ using touchup from mailing list
-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 ];