epiphany 3.12: fix wrapping binaries

This commit is contained in:
Luca Bruno 2014-05-21 12:59:59 +02:00
parent 7d0d2e3166
commit cecd439827

View File

@ -33,9 +33,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preFixup = ''
wrapProgram "$out/bin/epiphany" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
for f in $out/bin/* $out/libexec/*; do
wrapProgram "$f" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix XDG_DATA_DIRS : "${gnome3.gnome_themes_standard}/share:$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
done
'';
patches = [ ./libxml_missing_dep.patch ];