mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
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:
parent
5aec0b77f1
commit
59b08e6759
@ -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/
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user