Merge pull request #194206 from PanAeon/fix-fs-uae-launcher

Fix fs-uae-launcher Qt wrapping issue

authored by Anderson Torres and committed by GitHub cabcec14 4a6979d3

+11 -6
+10 -5
pkgs/applications/emulators/fs-uae/launcher.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , gettext 5 - , makeWrapper 6 5 , python3 6 + , wrapQtAppsHook 7 + , fsuae 7 8 }: 8 9 9 10 stdenv.mkDerivation rec { ··· 17 18 18 19 nativeBuildInputs = [ 19 20 gettext 20 - makeWrapper 21 21 python3 22 + wrapQtAppsHook 22 23 ]; 23 24 24 25 buildInputs = with python3.pkgs; [ ··· 29 30 30 31 makeFlags = [ "prefix=$(out)" ]; 31 32 32 - postInstall = '' 33 - wrapProgram $out/bin/fs-uae-launcher --set PYTHONPATH "$PYTHONPATH" 33 + dontWrapQtApps = true; 34 + 35 + preFixup = '' 36 + wrapQtApp "$out/bin/fs-uae-launcher" --set PYTHONPATH "$PYTHONPATH" \ 37 + --prefix PATH : ${lib.makeBinPath [ fsuae ]} 34 38 ''; 35 39 36 40 meta = with lib; { 37 41 homepage = "https://fs-uae.net"; 38 42 description = "Graphical front-end for the FS-UAE emulator"; 39 - license = lib.licenses.gpl2Plus; 43 + license = licenses.gpl2Plus; 40 44 maintainers = with maintainers; [ sander AndersonTorres ]; 41 45 platforms = [ "i686-linux" "x86_64-linux" ]; 42 46 }; 43 47 } 48 +
+1 -1
pkgs/top-level/all-packages.nix
··· 1512 1512 1513 1513 fsuae = callPackage ../applications/emulators/fs-uae { }; 1514 1514 1515 - fsuae-launcher = callPackage ../applications/emulators/fs-uae/launcher.nix { }; 1515 + fsuae-launcher = libsForQt5.callPackage ../applications/emulators/fs-uae/launcher.nix { }; 1516 1516 1517 1517 fuse-emulator = callPackage ../applications/emulators/fuse-emulator {}; 1518 1518