jetbrains: fix application icon (#239416)

My Desktop doesn't recognize the icon in ~/.local/share/pixmaps which is
how the icon would have to be found when doing a user profile install.

For me, it's hard to find information on this, but it seems like
share/pixmaps is something old and the share/icons location should be
used instead:

https://www.reddit.com/r/linuxquestions/comments/htg6c/comment/c1yfi0a/

https://github.com/spyder-ide/spyder/issues/6188

https://github.com/FreeSpacenav/spnavcfg/issues/9

In this PR we _add_ the icons location so that both are available for
compatibility.

authored by

Tillerino and committed by
GitHub
89a9b36d ba6c2290

+3 -2
+3 -2
pkgs/applications/editors/jetbrains/linux.nix
··· 61 61 installPhase = '' 62 62 runHook preInstall 63 63 64 - mkdir -p $out/{bin,$pname,share/pixmaps,libexec/${pname}} 64 + mkdir -p $out/{bin,$pname,share/pixmaps,libexec/${pname},share/icons/hicolor/scalable/apps} 65 65 cp -a . $out/$pname 66 66 [[ -f $out/$pname/bin/${loName}.png ]] && ln -s $out/$pname/bin/${loName}.png $out/share/pixmaps/${pname}.png 67 - [[ -f $out/$pname/bin/${loName}.svg ]] && ln -s $out/$pname/bin/${loName}.svg $out/share/pixmaps/${pname}.svg 67 + [[ -f $out/$pname/bin/${loName}.svg ]] && ln -s $out/$pname/bin/${loName}.svg $out/share/pixmaps/${pname}.svg \ 68 + && ln -s $out/$pname/bin/${loName}.svg $out/share/icons/hicolor/scalable/apps/${pname}.svg 68 69 mv bin/fsnotifier* $out/libexec/${pname}/. 69 70 70 71 jdk=${jdk.home}