diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-23 07:10:33 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-23 07:10:33 +0200 |
commit | d0f6f51cb8f03b939ab2587b44524b2bcceb63ba (patch) | |
tree | e1e3625e5592f9351f3502cbe5d265dc06d3e41e /pkgs/applications/emulators | |
parent | 854b6b28813a18b2fdb3077dde9c193dcb2f1988 (diff) |
dolphin-emu: fix build on x86_64-darwin
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r-- | pkgs/applications/emulators/dolphin-emu/default.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/applications/emulators/dolphin-emu/default.nix b/pkgs/applications/emulators/dolphin-emu/default.nix index f00d6c9c05a0f..c9f1e1572ab13 100644 --- a/pkgs/applications/emulators/dolphin-emu/default.nix +++ b/pkgs/applications/emulators/dolphin-emu/default.nix @@ -154,13 +154,6 @@ stdenv.mkDerivation rec { "--set QT_QPA_PLATFORM xcb" ]; - # Use nix-provided libraries instead of submodules - postPatch = lib.optionalString stdenv.isDarwin '' - substituteInPlace CMakeLists.txt \ - --replace-fail "if(NOT APPLE)" "if(true)" \ - --replace-fail "if(LIBUSB_FOUND AND NOT APPLE)" "if(LIBUSB_FOUND)" - ''; - postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules '' + lib.optionalString stdenv.hostPlatform.isDarwin '' |