about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/by-name/me/melonDS/package.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/by-name/me/melonDS/package.nix b/pkgs/by-name/me/melonDS/package.nix
index 049f3f9695ec..9c403f5e3893 100644
--- a/pkgs/by-name/me/melonDS/package.nix
+++ b/pkgs/by-name/me/melonDS/package.nix
@@ -6,7 +6,6 @@
 , libGL
 , libarchive
 , libpcap
-, libsForQt5
 , qt6
 , libslirp
 , pkg-config
@@ -17,8 +16,7 @@
 }:
 
 let
-  qt = if stdenv.isLinux then libsForQt5 else qt6;
-  inherit (qt)
+  inherit (qt6)
     qtbase
     qtmultimedia
     wrapQtAppsHook;
@@ -53,6 +51,10 @@ stdenv.mkDerivation (finalAttrs: {
     wayland
   ];
 
+  cmakeFlags = [
+    (lib.cmakeBool "USE_QT6" true)
+  ];
+
   strictDeps = true;
 
   qtWrapperArgs = lib.optionals stdenv.isLinux [