xfce4-panel: fix tzdata path

volth d30b429c 134dc70d

+11 -2
+4 -1
pkgs/desktops/xfce/core/xfce4-panel.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui 2 2 , libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification 3 - , makeWrapper, xfce4-mixer, hicolor-icon-theme 3 + , makeWrapper, xfce4-mixer, hicolor-icon-theme, tzdata 4 4 , withGtk3 ? false, gtk3, gettext, glib-networking 5 5 }: 6 6 let ··· 24 24 for f in $(find . -name \*.sh); do 25 25 substituteInPlace $f --replace gettext ${gettext}/bin/gettext 26 26 done 27 + substituteInPlace plugins/clock/clock.c \ 28 + --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" \ 29 + --replace "if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))" "" 27 30 ''; 28 31 29 32 outputs = [ "out" "dev" "devdoc" ];
+7 -1
pkgs/desktops/xfce4-13/xfce4-panel/default.nix
··· 1 - { mkXfceDerivation, exo, garcon, gtk2, gtk3, libxfce4ui, libxfce4util, libwnck3, xfconf }: 1 + { mkXfceDerivation, tzdata, exo, garcon, gtk2, gtk3, libxfce4ui, libxfce4util, libwnck3, xfconf }: 2 2 3 3 mkXfceDerivation rec { 4 4 category = "xfce"; ··· 8 8 sha256 = "194pihmg7af4x81nia2fy3h7rls306a7c0bqny9ycqikvi6nmdmn"; 9 9 10 10 buildInputs = [ exo garcon gtk2 gtk3 libxfce4ui libxfce4util libwnck3 xfconf ]; 11 + 12 + postPatch = '' 13 + substituteInPlace plugins/clock/clock.c \ 14 + --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" \ 15 + --replace "if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))" "" 16 + ''; 11 17 12 18 meta = { 13 19 description = "Xfce's panel";