mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
xpra: fix application icon location
This makes the icon visible in desktop environments. (Tested in GNOME).
This commit is contained in:
parent
19d9ac28cc
commit
06e2c42ae4
|
@ -186,9 +186,14 @@ in buildPythonApplication rec {
|
|||
)
|
||||
'';
|
||||
|
||||
# append module paths to xorg.conf
|
||||
postInstall = ''
|
||||
# append module paths to xorg.conf
|
||||
cat ${xorgModulePaths} >> $out/etc/xpra/xorg.conf
|
||||
|
||||
# make application icon visible to desktop environemnts
|
||||
icon_dir="$out/share/icons/hicolor/64x64/apps"
|
||||
mkdir -p "$icon_dir"
|
||||
ln -sr "$out/share/icons/xpra.png" "$icon_dir"
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue