melonDS: use qt6 libraries

This commit is contained in:
Anderson Torres 2024-07-05 09:13:18 -03:00
parent 7396993860
commit 68de652b96

View File

@ -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 [