1
0
Fork 1
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:
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 = ''
# 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;