mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
xpra: set correct module paths for xorg.conf
This commit is contained in:
parent
af418c4356
commit
439d97eb97
1 changed files with 14 additions and 0 deletions
|
@ -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 a new issue