lutris: fix RPCS3 AppImage
A lot of runners are AppImages and these due to their fuse + FHS dependencies, won't work as expected in Nix. This commit implements a workaround that Lutris also employes for flatpaks where they unpack the image and then they run it. This is done via an environment variable passed to the Lutris executable. This commit also brings all dependencies needed for RPCS3 emulator to work as expected.
This commit is contained in:
@@ -138,6 +138,7 @@ buildPythonApplication rec {
|
||||
dontWrapGApps = true;
|
||||
makeWrapperArgs = [
|
||||
"--prefix PATH : ${lib.makeBinPath requiredTools}"
|
||||
"--prefix APPIMAGE_EXTRACT_AND_RUN : 1"
|
||||
"\${gappsWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
|
||||
@@ -34,6 +34,9 @@ in buildFHSEnv {
|
||||
targetPkgs = pkgs: with pkgs; [
|
||||
lutris-unwrapped
|
||||
|
||||
# Appimages
|
||||
fuse
|
||||
|
||||
# Adventure Game Studio
|
||||
allegro dumb
|
||||
|
||||
@@ -86,9 +89,8 @@ in buildFHSEnv {
|
||||
|
||||
# Redream // "redream is not available for the x86_64 architecture"
|
||||
|
||||
|
||||
# rpcs3 // TODO: "error while loading shared libraries: libz.so.1..."
|
||||
llvm
|
||||
# RPCS3
|
||||
llvm e2fsprogs libgpg-error
|
||||
|
||||
# ScummVM
|
||||
nasm sndio
|
||||
|
||||
Reference in New Issue
Block a user