sxiv: installs .desktop file

sxiv won't appear in meus as it has NoDisplay but it can be used to
generate the mimetypes.
This commit is contained in:
Matthieu Coudron 2017-10-31 01:16:43 +09:00
parent 66b63d2f5a
commit cdbcb19e83

View file

@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
buildInputs = [ libX11 imlib2 giflib libexif ];
postInstall = ''
mkdir -p $out/share/applications/
cp -v sxiv.desktop $out/share/applications/
'';
meta = {
description = "Simple X Image Viewer";
homepage = https://github.com/muennich/sxiv;