summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/graphics/gthumb
diff options
context:
space:
mode:
authorMiguel Madrid MencĂ­a <mimadrid@ucm.es>2018-02-24 10:45:24 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-02-24 18:41:00 +0100
commit114a8f159b6226d48e04b49c180b009d272de176 (patch)
tree93bc428be43cf981abdc99a53672a743fca199f3 /pkgs/applications/graphics/gthumb
parent4caf9dc1c7d2d744aeee7cb8c3bb9d26b5851a30 (diff)
gthumb: fixed mime types
Diffstat (limited to 'pkgs/applications/graphics/gthumb')
-rw-r--r--pkgs/applications/graphics/gthumb/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/gthumb/default.nix b/pkgs/applications/graphics/gthumb/default.nix
index 161e89151249..0b461e1109c7 100644
--- a/pkgs/applications/graphics/gthumb/default.nix
+++ b/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}";
@@ -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";