easytag: Fix "Using the 'memory' GSettings backend" (see issue #4415).

This commit is contained in:
Matthias C. M. Troffaes 2014-12-22 11:17:38 +00:00
parent 6221af50c4
commit 6c9eb020ab
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libid3tag, id3lib, taglib
, libvorbis, libogg, flac, itstool, libxml2, gsettings_desktop_schemas
, makeWrapper, gnome_icon_theme
, makeWrapper, gnome_icon_theme, dconf
}:
stdenv.mkDerivation rec {
@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
preFixup = ''
wrapProgram $out/bin/easytag \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share"
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share" \
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
'';
NIX_LDFLAGS = "-lid3tag -lz";
@ -22,7 +23,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
pkgconfig intltool gtk3 glib libid3tag id3lib taglib libvorbis libogg flac
itstool libxml2 gsettings_desktop_schemas gnome_icon_theme
itstool libxml2 gsettings_desktop_schemas gnome_icon_theme dconf
];
meta = {

View File

@ -10272,7 +10272,7 @@ let
};
easytag = callPackage ../applications/audio/easytag {
inherit (gnome3) gnome_icon_theme;
inherit (gnome3) gnome_icon_theme dconf;
};
mp3info = callPackage ../applications/audio/mp3info { };