about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2020-04-14 09:00:12 +0100
committeradisbladis <adisbladis@gmail.com>2020-04-14 09:06:09 +0100
commitc77a4e8b824d4267665e5c6d2e86f652e5328371 (patch)
treedeacad6c341b372e80c7b158b676be64561ca16a /pkgs/games
parent5d09de6cc55a24d64a809da370eb1981288b4c55 (diff)
xmoto: Fix missing text
Diffstat (limited to 'pkgs/games')
-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 eb561d27a2fb9..d49998a68d73e 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";