mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
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 {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user