tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
xfce4-panel: fix tzdata path
volth
7 years ago
d30b429c
134dc70d
+11
-2
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
xfce
core
xfce4-panel.nix
xfce4-13
xfce4-panel
default.nix
+4
-1
pkgs/desktops/xfce/core/xfce4-panel.nix
···
1
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
2
, libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification
3
-
, makeWrapper, xfce4-mixer, hicolor-icon-theme
4
, withGtk3 ? false, gtk3, gettext, glib-networking
5
}:
6
let
···
24
for f in $(find . -name \*.sh); do
25
substituteInPlace $f --replace gettext ${gettext}/bin/gettext
26
done
0
0
0
27
'';
28
29
outputs = [ "out" "dev" "devdoc" ];
···
1
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
2
, libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification
3
+
, makeWrapper, xfce4-mixer, hicolor-icon-theme, tzdata
4
, withGtk3 ? false, gtk3, gettext, glib-networking
5
}:
6
let
···
24
for f in $(find . -name \*.sh); do
25
substituteInPlace $f --replace gettext ${gettext}/bin/gettext
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))" ""
30
'';
31
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 }:
2
3
mkXfceDerivation rec {
4
category = "xfce";
···
8
sha256 = "194pihmg7af4x81nia2fy3h7rls306a7c0bqny9ycqikvi6nmdmn";
9
10
buildInputs = [ exo garcon gtk2 gtk3 libxfce4ui libxfce4util libwnck3 xfconf ];
0
0
0
0
0
0
11
12
meta = {
13
description = "Xfce's panel";
···
1
+
{ mkXfceDerivation, tzdata, exo, garcon, gtk2, gtk3, libxfce4ui, libxfce4util, libwnck3, xfconf }:
2
3
mkXfceDerivation rec {
4
category = "xfce";
···
8
sha256 = "194pihmg7af4x81nia2fy3h7rls306a7c0bqny9ycqikvi6nmdmn";
9
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
+
'';
17
18
meta = {
19
description = "Xfce's panel";