From c77a4e8b824d4267665e5c6d2e86f652e5328371 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 14 Apr 2020 09:00:12 +0100 Subject: [PATCH] xmoto: Fix missing text --- pkgs/games/xmoto/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/games/xmoto/default.nix b/pkgs/games/xmoto/default.nix index eb561d27a2f..d49998a68d7 100644 --- a/pkgs/games/xmoto/default.nix +++ b/pkgs/games/xmoto/default.nix @@ -17,7 +17,12 @@ stdenv.mkDerivation rec { lua5 ode libxdg_basedir libxml2 ]; - CXXFLAGS = [ "-fpermissive" ]; + CXXFLAGS = [ + "-fpermissive" + # Build using the old C++ ABI to fix issue with missing text; the issue + # should be fixed in the next stable release (if that ever does happen) + "-D_GLIBCXX_USE_CXX11_ABI=0" + ]; meta = with stdenv.lib; { description = "Obstacled race game";