summary refs log tree commit diff
path: root/pkgs/games/xmoto/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/xmoto/default.nix')
-rw-r--r--pkgs/games/xmoto/default.nix7
1 files changed, 6 insertions, 1 deletions
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";