diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-06-16 22:39:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 22:39:49 -0500 |
commit | 439bcf4cc55721b2350584d91f855c28ee8ec485 (patch) | |
tree | 18bba5e1c3ae9477ab0d06134908d6d37be70765 /pkgs/applications/networking/instant-messengers/discord/linux.nix | |
parent | cc0e6df7c9b19f2eafff586e7c07108fdad50d15 (diff) | |
parent | b855d0a6aa7cbfe438eb993e9526f76000637163 (diff) |
Merge pull request #171002 from anund/fix_discord_icon
discord: fix desktop icon location
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/discord/linux.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/linux.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/linux.nix b/pkgs/applications/networking/instant-messengers/discord/linux.nix index b960caa64d80..74e424aaf1df 100644 --- a/pkgs/applications/networking/instant-messengers/discord/linux.nix +++ b/pkgs/applications/networking/instant-messengers/discord/linux.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation rec { ]; installPhase = '' - mkdir -p $out/{bin,opt/${binaryName},share/pixmaps} + mkdir -p $out/{bin,opt/${binaryName},share/pixmaps,share/icons/hicolor/256x256/apps} mv * $out/opt/${binaryName} chmod +x $out/opt/${binaryName}/${binaryName} @@ -90,7 +90,9 @@ stdenv.mkDerivation rec { ln -s $out/opt/${binaryName}/${binaryName} $out/bin/${ lib.strings.toLower binaryName } || true + ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png + ln -s $out/opt/${binaryName}/discord.png $out/share/icons/hicolor/256x256/apps/${pname}.png ln -s "${desktopItem}/share/applications" $out/share/ ''; |