sxiv: installs .desktop file
sxiv won't appear in meus as it has NoDisplay but it can be used to
generate the mimetypes.
commitcdbcb19e83fee42d6cceba0fb477dd37e25f63ed
authorMatthieu Coudron <mattator@gmail.com>
dateTue 31 Oct 2017, 01:16 (9 years ago)
parent66b63d2
pkgs/applications/graphics/sxiv/default.nix+5
@@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
2323
2424 buildInputs = [ libX11 imlib2 giflib libexif ];
2525
26+ postInstall = ''
27+ mkdir -p $out/share/applications/
28+ cp -v sxiv.desktop $out/share/applications/
29+ '';
30+
2631 meta = {
2732 description = "Simple X Image Viewer";
2833 homepage = https://github.com/muennich/sxiv;