playonlinux: fix crash on open file (GSettings)

This commit is contained in:
Elian Doran 2022-02-11 22:15:53 +02:00
parent 8704688a6f
commit 7ab850abec

View File

@ -25,6 +25,8 @@
, steam-run-native
# needed for avoiding crash on file selector
, gsettings-desktop-schemas
, glib
, wrapGAppsHook
}:
let
@ -76,13 +78,14 @@ in stdenv.mkDerivation {
./0001-fix-locale.patch
];
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
preBuild = ''
makeFlagsArray+=(PYTHON="python -m py_compile")
'';
buildInputs = [
glib
xorg.libX11
libGL
python