forked from mirrors/nixpkgs
xfce4-13.xfce4-panel: fix path to tzdata (#44350)
This commit is contained in:
parent
b79046e21b
commit
e8cc4b76b2
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue