about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2023-07-14 18:06:36 +0200
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-07-14 15:39:54 -0300
commite7ec942dea0ee69c24e46a8b70bc4c3993eef634 (patch)
tree81b1d56e515c2a42d83faafc134bf8d1c44a9907 /pkgs/applications/emulators
parent75cfb4925a74900b0ab7636d605869806235ad0d (diff)
fsuae-launcher: fix find executable
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/fs-uae/launcher.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/emulators/fs-uae/launcher.nix b/pkgs/applications/emulators/fs-uae/launcher.nix
index 570b439f4a1e1..63ff7eee2ea65 100644
--- a/pkgs/applications/emulators/fs-uae/launcher.nix
+++ b/pkgs/applications/emulators/fs-uae/launcher.nix
@@ -34,8 +34,11 @@ stdenv.mkDerivation (finalAttrs: {
 
   preFixup = ''
     wrapQtApp "$out/bin/fs-uae-launcher" \
-      --set PYTHONPATH "$PYTHONPATH" \
-      --prefix PATH : ${lib.makeBinPath [ fsuae ]}
+      --set PYTHONPATH "$PYTHONPATH"
+
+    # fs-uae-launcher search side by side for fs-uae
+    # see $src/fsgs/plugins/pluginexecutablefinder.py#find_executable
+    ln -s ${fsuae}/bin/fs-uae $out/bin
   '';
 
   meta = {