about summary refs log tree commit diff
path: root/pkgs/applications/emulators/retroarch/wrapper.nix
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2022-10-28 21:22:09 +0100
committerThiago Kenji Okada <thiagokokada@gmail.com>2022-10-28 21:31:39 +0100
commit87af66df786d82732a74d658d0397e84a85b66d4 (patch)
tree233602588f0a7495f8b1d49d6141207b568b988c /pkgs/applications/emulators/retroarch/wrapper.nix
parentcb5179db830c63bfa3a9e1f7ef8e029d86f5b02e (diff)
retroarch: drop all Darwin related code
Darwin support in retroarch was broken for a long time, and it is
getting worse with each subsequent update. Upstream abandoned
`./configure` usage in macOS systems too for a Xcode build system.

So if we want to get back decent support for retroarch in Darwin, we
should migrate it to use Xcode. For now, let's just remove all this code
that is not working.
Diffstat (limited to 'pkgs/applications/emulators/retroarch/wrapper.nix')
-rw-r--r--pkgs/applications/emulators/retroarch/wrapper.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/applications/emulators/retroarch/wrapper.nix b/pkgs/applications/emulators/retroarch/wrapper.nix
index f04cf922f5118..7ce75b22ba47b 100644
--- a/pkgs/applications/emulators/retroarch/wrapper.nix
+++ b/pkgs/applications/emulators/retroarch/wrapper.nix
@@ -31,11 +31,6 @@ symlinkJoin {
     rm $out/bin/retroarch
     makeWrapper ${retroarch}/bin/retroarch $out/bin/retroarch \
       ${wrapperArgs}
-  '' + lib.optionalString stdenv.isDarwin ''
-    # wrapProgram can't operate on symlinks
-    rm $out/Applications/RetroArch.app/Contents/MacOS/retroarch
-    makeWrapper ${retroarch}/bin/retroarch $out/Applications/RetroArch.app/Contents/MacOS/retroarch \
-      ${wrapperArgs}
   '';
 
   meta = with retroarch.meta; {