diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-21 17:02:54 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-03-02 12:25:45 -0800 |
commit | 5f91781b55cde7aba6d4c2165e43c9ebe3023590 (patch) | |
tree | b28347f68279dd6d522dbc296bb501cb57223d01 /pkgs/applications/misc/playonlinux | |
parent | ee5fab452b279d59c0a9278bf7e009667b0ef774 (diff) |
treewide: remove steam-run-native
Diffstat (limited to 'pkgs/applications/misc/playonlinux')
-rw-r--r-- | pkgs/applications/misc/playonlinux/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/misc/playonlinux/default.nix b/pkgs/applications/misc/playonlinux/default.nix index 74f3408151771..58d45d19bee58 100644 --- a/pkgs/applications/misc/playonlinux/default.nix +++ b/pkgs/applications/misc/playonlinux/default.nix @@ -106,6 +106,16 @@ in stdenv.mkDerivation { install -D -m644 etc/PlayOnLinux.desktop $out/share/applications/playonlinux.desktop + makeWrapper $out/share/playonlinux/playonlinux{,-wrapper} \ + --prefix PATH : ${binpath} \ + --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/GConf + # steam-run is needed to run the downloaded wine executables + mkdir -p $out/bin + cat > $out/bin/playonlinux <<EOF + #!${stdenv.shell} -e + exec ${steam-run}/bin/steam-run $out/share/playonlinux/playonlinux-wrapper "\$@" + EOF + chmod a+x $out/bin/playonlinux bunzip2 $out/share/playonlinux/bin/check_dd_x86.bz2 patchelf --set-interpreter $(cat ${ld32}) --set-rpath ${libs pkgsi686Linux} $out/share/playonlinux/bin/check_dd_x86 |