xpra: fix application icon location

This makes the icon visible in desktop environments. (Tested in GNOME).
This commit is contained in:
Bjørn Forsman 2022-10-22 21:10:21 +02:00 committed by ehmry
parent 19d9ac28cc
commit 06e2c42ae4

View file

@ -186,9 +186,14 @@ in buildPythonApplication rec {
) )
''; '';
# append module paths to xorg.conf
postInstall = '' postInstall = ''
# append module paths to xorg.conf
cat ${xorgModulePaths} >> $out/etc/xpra/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; doCheck = false;