xpra: set correct module paths for xorg.conf
This commit is contained in:
parent
af418c4356
commit
439d97eb97
@ -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 {
|
in buildPythonApplication rec {
|
||||||
pname = "xpra";
|
pname = "xpra";
|
||||||
version = "3.0.7";
|
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;
|
doCheck = false;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user