diff options
author | Benjamin Staffin <benley@gmail.com> | 2019-07-18 18:53:14 -0400 |
---|---|---|
committer | Matthieu Coudron <coudron@iij.ad.jp> | 2019-07-19 04:00:52 +0200 |
commit | 59b08e6759c94cc1f4a1ff14a0aff24742d6cd62 (patch) | |
tree | a53df0df6d5659a56f14db57acbc2e69cb625221 | |
parent | 5aec0b77f1c37c8461cb3d1bafaf19b7a460cd39 (diff) | |
download | nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.tar nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.tar.gz nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.tar.bz2 nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.tar.lz nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.tar.xz nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.tar.zst nixlib-59b08e6759c94cc1f4a1ff14a0aff24742d6cd62.zip |
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.
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/base.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/base.nix b/pkgs/applications/networking/instant-messengers/discord/base.nix index 63149d3d54b9..17f6f4773741 100644 --- a/pkgs/applications/networking/instant-messengers/discord/base.nix +++ b/pkgs/applications/networking/instant-messengers/discord/base.nix @@ -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/ ''; |