From e7ec942dea0ee69c24e46a8b70bc4c3993eef634 Mon Sep 17 00:00:00 2001 From: Christian Kögler Date: Fri, 14 Jul 2023 18:06:36 +0200 Subject: fsuae-launcher: fix find executable --- pkgs/applications/emulators/fs-uae/launcher.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/emulators') 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 = { -- cgit 1.4.1