spotify: fix icon

This commit is contained in:
Pavol Rusnak 2018-10-11 14:33:20 +02:00
parent 8362673d4b
commit 33171befdb
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -126,6 +126,9 @@ stdenv.mkDerivation {
--prefix LD_LIBRARY_PATH : "$librarypath" \
--prefix PATH : "${gnome3.zenity}/bin"
# fix Icon line in the desktop file (#48062)
sed -i "s:^Icon=.*:Icon=spotify-client:" "$out/share/spotify/spotify.desktop"
# Desktop file
mkdir -p "$out/share/applications/"
cp "$out/share/spotify/spotify.desktop" "$out/share/applications/"