anchor.diff:    '';
   
     nativeBuildInputs = [ autoreconfHook pkg-config ]
  -    ++ lib.optional qtClient [ qt5.wrapQtAppsHook ];
  +    ++ lib.optional qtClient [ qt5.wrapQtAppsHook ]
  +    ++ lib.optional gtkClient [ wrapGAppsHook ];
   
     buildInputs = [ lua5_3 zlib bzip2 curl xz gettext libiconv ]
       ++ lib.optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]
  
positive.code: { lib, stdenv, fetchFromGitHub, autoreconfHook, lua5_3, pkg-config, python3
  , zlib, bzip2, curl, xz, gettext, libiconv
  , sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
  , gtkClient ? false, gtk3
  , qtClient ? false, qt5
  , server ? true, readline
  , enableSqlite ? true, sqlite
  
negative.code: 
    postFixup = lib.optionalString qtClient ''
      wrapQtApp $out/bin/freeciv-qt
    '' + lib.optionalString gtkClient ''
      wrapGApp $out/bin/freeciv-gtk3.22
    '';
  
    enableParallelBuilding = true;
  