dopewars: fix build with strict msgfmt

This commit is contained in:
Harinn
2026-05-09 15:53:05 +07:00
parent 8f689324e3
commit 0df999c623
+5
View File
@@ -41,6 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
./0002-fix_gcc15.patch
];
preConfigure = ''
substituteInPlace po/Makefile.in.in \
--replace-fail '$(GMSGFMT) -c --statistics --verbose' '$(GMSGFMT) --statistics --verbose'
'';
# run dopewars with -f so that it finds its scoreboard file in ~/.local/share
postInstall = ''
wrapProgram $out/bin/dopewars \