cataclysm-dda{,-git}: fix locale directory

PREFIX/share/locale should be searched for translations not only on Linux.
This commit is contained in:
Mitsuhiro Nakamura
2018-01-22 22:37:02 +09:00
parent 7287a9e91d
commit d77ce49c75
4 changed files with 44 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses lua SDL2 SDL2_image SDL2_ttf SDL2_mixer freetype gettext ]
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
patches = [ ./patches/fix_locale_dir.patch ];
postPatch = ''
patchShebangs .
sed -i Makefile \