about summary refs log tree commit diff
path: root/pkgs/games/freeciv/default.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-08 08:40:05 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-08 08:40:05 +0100
commit24f51643727937043b9f1984f96a9f101d5f506f (patch)
tree530d68c78a60b1ec7d87222e3cc83fa97b6d9204 /pkgs/games/freeciv/default.nix
parente21d419d2f55ab84ef51498026cd924499034a02 (diff)
freeciv_qt: set qtver
Diffstat (limited to 'pkgs/games/freeciv/default.nix')
-rw-r--r--pkgs/games/freeciv/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/freeciv/default.nix b/pkgs/games/freeciv/default.nix
index 381d9f81035f5..6f653c46df864 100644
--- a/pkgs/games/freeciv/default.nix
+++ b/pkgs/games/freeciv/default.nix
@@ -55,6 +55,7 @@ stdenv.mkDerivation rec {
     ]
     ++ lib.optionals qtClient [
       "--enable-client=qt"
+      "--with-qtver=qt5"
       "--with-qt5-includes=${qt5.qtbase.dev}/include"
     ] ++ lib.optionals gtkClient [ "--enable-client=gtk3.22" ]
     ++ lib.optional enableSqlite "--enable-fcdb=sqlite3"
@@ -82,5 +83,6 @@ stdenv.mkDerivation rec {
     maintainers = with maintainers; [ pierron ];
     platforms = platforms.unix;
     hydraPlatforms = platforms.linux; # sdl-config times out on darwin
+    broken = qtClient && stdenv.isDarwin; # Missing Qt5 development files
   };
 }