discord: Fix desktop icon

The name used in the .desktop file needs to match the filename that
exists in $out/share/pixmaps/ for it to work.
This commit is contained in:
Benjamin Staffin 2019-07-18 18:53:14 -04:00 committed by Matthieu Coudron
parent 5aec0b77f1
commit 59b08e6759

View File

@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
--prefix LD_LIBRARY_PATH : ${libPath}
ln -s $out/opt/${binaryName}/${binaryName} $out/bin/
ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${binaryName}.png
ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png
ln -s "${desktopItem}/share/applications" $out/share/
'';