diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-10-14 18:38:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 18:38:43 -0500 |
commit | dfb28590f79cfbdd4b2b5c854e6ccad900e2dd4d (patch) | |
tree | 1a1c1a8c07d5ad70ff2c70e9f4e8a26f13498339 /pkgs/games | |
parent | 4d95e2edee573fab2cb204fd0deb5b448c30821d (diff) | |
parent | 022e555d671dfb28e7d64ce3805c9966b2ce5aec (diff) |
Merge pull request #195903 from wegank/zod-wxgtk
zod: fix build on aarch64-linux
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/zod/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/games/zod/default.nix b/pkgs/games/zod/default.nix index ad576b4642436..737fed1e7f64d 100644 --- a/pkgs/games/zod/default.nix +++ b/pkgs/games/zod/default.nix @@ -7,7 +7,7 @@ , SDL_ttf , SDL_mixer , libmysqlclient -, wxGTK +, wxGTK32 , symlinkJoin , runCommandLocal , makeWrapper @@ -31,7 +31,7 @@ let SDL_ttf SDL_mixer libmysqlclient - wxGTK + wxGTK32 coreutils ]; hardeningDisable = [ "format" ]; @@ -74,7 +74,8 @@ let ]; postPatch = '' substituteInPlace zod_launcher_src/zod_launcherFrm.cpp \ - --replace 'message = wxT("./zod");' 'message = wxT("zod");' + --replace 'message = wxT("./zod");' 'message = wxT("zod");' \ + --replace "check.replace(i,1,1,'_');" "check.replace(i,1,1,(wxUniChar)'_');" ''; preBuild = "cd zod_launcher_src"; installPhase = '' @@ -106,5 +107,6 @@ in homepage = "http://zod.sourceforge.net/"; maintainers = with maintainers; [ zeri ]; license = licenses.gpl3Plus; /* Says the website */ + platforms = platforms.linux; }; } |