mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
flake: clean up dependencies a bit
* qt6.* instead of kdePackages.* * use an extra-cmake-modules that depends on Qt6 rather than 5, and exclude it on macOS
This commit is contained in:
16
flake.nix
16
flake.nix
@ -25,23 +25,23 @@
|
|||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
kdePackages.wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = (with pkgs; [
|
buildInputs = (with pkgs; [
|
||||||
kdePackages.qtbase
|
qt6.qtbase
|
||||||
kdePackages.qtmultimedia
|
qt6.qtmultimedia
|
||||||
extra-cmake-modules
|
|
||||||
SDL2
|
SDL2
|
||||||
zstd
|
zstd
|
||||||
libarchive
|
libarchive
|
||||||
libGL
|
libGL
|
||||||
libslirp
|
libslirp
|
||||||
enet
|
enet
|
||||||
]) ++ optionals isLinux [
|
]) ++ optionals (!isDarwin) (with pkgs; [
|
||||||
pkgs.wayland
|
kdePackages.extra-cmake-modules
|
||||||
pkgs.kdePackages.qtwayland
|
qt6.qtwayland
|
||||||
];
|
wayland
|
||||||
|
]);
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
(cmakeBool "USE_QT6" true)
|
(cmakeBool "USE_QT6" true)
|
||||||
|
Reference in New Issue
Block a user