xpra: set correct module paths for xorg.conf

This commit is contained in:
Jaka Hudoklin 2020-03-31 13:30:26 +07:00
parent af418c4356
commit 439d97eb97

View File

@ -19,6 +19,15 @@ let
];
});
xorgModulePaths = writeText "module-paths" ''
Section "Files"
ModulePath "${xorgserver}/lib/xorg/modules"
ModulePath "${xorgserver}/lib/xorg/modules/extensions"
ModulePath "${xorgserver}/lib/xorg/modules/drivers"
ModulePath "${xf86videodummy}/lib/xorg/modules/drivers"
EndSection
'';
in buildPythonApplication rec {
pname = "xpra";
version = "3.0.7";
@ -88,6 +97,11 @@ in buildPythonApplication rec {
)
'';
# append module paths to xorg.conf
postInstall = ''
cat ${xorgModulePaths} >> $out/etc/xpra/xorg.conf
'';
doCheck = false;
enableParallelBuilding = true;