freeciv: fix Qt runtime

This commit is contained in:
Julien Moutinho 2020-11-17 06:31:10 +01:00 committed by Emery Hemingway
parent 35cd023905
commit dbbdc2eb3e

View file

@ -28,7 +28,8 @@ in stdenv.mkDerivation rec {
done
'';
nativeBuildInputs = [ autoreconfHook pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config ]
++ optional qtClient [ qt5.wrapQtAppsHook ];
buildInputs = [ lua5_3 zlib bzip2 curl lzma gettext libiconv ]
++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]