about summary refs log tree commit diff
path: root/pkgs/by-name/me/melonDS
diff options
context:
space:
mode:
authorAnderson Torres2024-07-05 09:13:18 -0300
committerAnderson Torres2024-07-05 09:13:18 -0300
commit68de652b96d0e829bb4765962a6bff4fc9d244c3 (patch)
tree573632ba883fd08d486c94f9bd634a06c5018f1f /pkgs/by-name/me/melonDS
parent73969938603f7413591a90951162121721e6a5c9 (diff)
melonDS: use qt6 libraries
Diffstat (limited to 'pkgs/by-name/me/melonDS')
-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 [