dolphin-emu-primehack: move to by-name

This commit is contained in:
Gaetan Lepage
2025-03-17 23:21:58 +01:00
parent 34034b75f1
commit cf0b43ee7a
2 changed files with 4 additions and 24 deletions
@@ -4,9 +4,7 @@
fetchFromGitHub,
pkg-config,
cmake,
wrapQtAppsHook,
qtbase,
qtsvg,
qt6,
bluez,
ffmpeg,
libao,
@@ -40,10 +38,6 @@
libpulseaudio,
# - Inputs used for Darwin
CoreBluetooth,
ForceFeedback,
IOKit,
OpenGL,
libpng,
hidapi,
}:
@@ -63,7 +57,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkg-config
cmake
] ++ lib.optional stdenv.hostPlatform.isLinux wrapQtAppsHook;
] ++ lib.optional stdenv.hostPlatform.isLinux qt6.wrapQtAppsHook;
buildInputs =
[
@@ -95,8 +89,8 @@ stdenv.mkDerivation rec {
sfml
fmt
xz
qtbase
qtsvg
qt6.qtbase
qt6.qtsvg
]
++ lib.optionals stdenv.hostPlatform.isLinux [
bluez
@@ -104,12 +98,6 @@ stdenv.mkDerivation rec {
libevdev
alsa-lib
vulkan-loader
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
CoreBluetooth
OpenGL
ForceFeedback
IOKit
];
cmakeFlags =
-8
View File
@@ -1433,14 +1433,6 @@ with pkgs;
zsnes = pkgsi686Linux.callPackage ../applications/emulators/zsnes { };
zsnes2 = pkgsi686Linux.callPackage ../applications/emulators/zsnes/2.x.nix { };
### APPLICATIONS/EMULATORS/BSNES
### APPLICATIONS/EMULATORS/DOLPHIN-EMU
dolphin-emu-primehack = qt6.callPackage ../applications/emulators/dolphin-emu/primehack.nix {
inherit (darwin.apple_sdk.frameworks) CoreBluetooth ForceFeedback IOKit OpenGL;
};
### APPLICATIONS/EMULATORS/RETROARCH
libretro = recurseIntoAttrs (callPackage ../applications/emulators/libretro { });