Skip to content

Commit

Permalink
gthumb: fixed mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
mimame authored and jtojnar committed Feb 24, 2018
1 parent 4caf9dc commit 114a8f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/graphics/gthumb/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, gnome3, itstool, libxml2, pkgconfig, intltool,
exiv2, libjpeg, libtiff, gstreamer, libraw, libsoup, libsecret,
libchamplain, librsvg, libwebp, json_glib, webkit, lcms2, bison,
flex, hicolor_icon_theme, wrapGAppsHook }:
flex, hicolor_icon_theme, wrapGAppsHook, shared_mime_info }:

stdenv.mkDerivation rec {
name = "${pname}-${version}";
Expand All @@ -23,6 +23,10 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared_mime_info}/share")
'';

meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/gthumb;
description = "Image browser and viewer for GNOME";
Expand Down

0 comments on commit 114a8f1

Please sign in to comment.