Fix cdemu ui gsettings schema paths

This commit is contained in:
Herwig Hochleitner 2015-02-10 13:14:25 +01:00
parent 983fddcea8
commit 67f9c8b025
2 changed files with 4 additions and 4 deletions

View File

@ -1,15 +1,15 @@
{ callPackage, gtk3, libxml2, gnuplot, makeWrapper, stdenv }:
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, stdenv }:
let pkg = import ./base.nix {
version = "3.0.0";
pkgName = "image-analyzer";
pkgSha256 = "1rb3f7c08dxc02zrwrkfvq7qlzlmm0kd2ah1fhxj6ajiyshi8q4v";
};
in callPackage pkg {
buildInputs = [ gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper ];
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper ];
drvParams = {
postFixup = ''
wrapProgram $out/bin/image-analyzer \
--set XDG_DATA_DIRS "$out/share:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS"
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH:$XDG_DATA_DIRS"
'';
};
}

View File

@ -11,7 +11,7 @@ in callPackage pkg {
wrapProgram $out/bin/gcdemu \
--set PYTHONPATH "$PYTHONPATH" \
--set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" \
--set XDG_DATA_DIRS "$out/share:$XDG_DATA_DIRS"
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH:$XDG_DATA_DIRS"
'';
# TODO AppIndicator
};