nextcloud-client: fix icon name in desktop file
The desktop file bundled with nextcloud calls the icon `nextcloud`, but the icons are named `Nextcloud` and so desktop environments won't find it.
This commit is contained in:
parent
cf6c05fda7
commit
3e952780eb
1 changed files with 4 additions and 1 deletions
|
@ -36,7 +36,10 @@ stdenv.mkDerivation rec {
|
|||
"-DINOTIFY_INCLUDE_DIR=${inotify-tools}/include"
|
||||
];
|
||||
|
||||
postInstall = stdenv.lib.optionalString (withGnomeKeyring) ''
|
||||
postInstall = ''
|
||||
sed -i 's/\(Icon.*\)=nextcloud/\1=Nextcloud/g' \
|
||||
$out/share/applications/nextcloud.desktop
|
||||
'' + stdenv.lib.optionalString (withGnomeKeyring) ''
|
||||
wrapProgram "$out/bin/nextcloud" \
|
||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libgnome_keyring ]}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue