3
0
Fork 0
forked from mirrors/nixpkgs

xfce4-13.xfce4-panel: fix path to tzdata (#44350)

This commit is contained in:
volth 2018-08-02 12:08:44 +00:00 committed by xeji
parent b79046e21b
commit e8cc4b76b2

View file

@ -1,4 +1,4 @@
{ mkXfceDerivation, makeWrapper, exo, garcon, gtk2, gtk3, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf }:
{ mkXfceDerivation, makeWrapper, tzdata, exo, garcon, gtk2, gtk3, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf }:
mkXfceDerivation rec {
category = "xfce";
@ -17,6 +17,9 @@ mkXfceDerivation rec {
for f in $(find . -name \*.sh); do
substituteInPlace $f --replace gettext ${gettext}/bin/gettext
done
substituteInPlace plugins/clock/clock.c \
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" \
--replace "if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))" ""
'';
configureFlags = [ "--enable-gtk3" ];