about summary refs log tree commit diff
path: root/pkgs/games/openmw/tes3mp.nix
diff options
context:
space:
mode:
authorgnidorah <gnidorah@users.noreply.github.com>2020-05-20 20:25:36 +0300
committerGitHub <noreply@github.com>2020-05-20 13:25:36 -0400
commit6405edf2dca7f6faaa29266136dfa7f8f969b511 (patch)
treefc7a1d1872a94c9d3abc324689442986498e05ca /pkgs/games/openmw/tes3mp.nix
parent48f0d8b3c8678185420231e8cda1139794325dee (diff)
downloadnixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.tar
nixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.tar.gz
nixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.tar.bz2
nixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.tar.lz
nixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.tar.xz
nixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.tar.zst
nixlib-6405edf2dca7f6faaa29266136dfa7f8f969b511.zip
tes3mp: fix working (#88061)
Diffstat (limited to 'pkgs/games/openmw/tes3mp.nix')
-rw-r--r--pkgs/games/openmw/tes3mp.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/games/openmw/tes3mp.nix b/pkgs/games/openmw/tes3mp.nix
index 222aa68dba24..59bdc6901078 100644
--- a/pkgs/games/openmw/tes3mp.nix
+++ b/pkgs/games/openmw/tes3mp.nix
@@ -50,6 +50,12 @@ in openmw.overrideAttrs (oldAttrs: rec {
     "-DRakNet_LIBRARY_DEBUG=${rakNetLibrary}/lib/libRakNetLibStatic.a"
   ];
 
+  # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95175
+  patches = [
+    ./tes3mp.patch
+  ];
+  NIX_CFLAGS_COMPILE = "-fpermissive";
+
   preConfigure = ''
     substituteInPlace files/version.in \
       --subst-var-by OPENMW_VERSION_COMMITHASH ${compatHash}