tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
orage: fix tzdata pathes
authored by
volth
and committed by
GitHub
7 years ago
070b6e6f
3e31d23d
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
xfce
applications
orage.nix
+9
-1
pkgs/desktops/xfce/applications/orage.nix
···
1
1
-
{ stdenv, fetchurl, fetchpatch, pkgconfig, bison, flex, intltool, gtk, libical, dbus-glib
1
1
+
{ stdenv, fetchurl, fetchpatch, pkgconfig, bison, flex, intltool, gtk, libical, dbus-glib, tzdata
2
2
, libnotify, popt, xfce
3
3
}:
4
4
···
21
21
sha256 = "1l8s106mcidmbx2p8c2pi8v9ngbv2x3fsgv36j8qk8wyd4qd1jbf";
22
22
})
23
23
];
24
24
+
25
25
+
postPatch = ''
26
26
+
substituteInPlace src/parameters.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
27
27
+
substituteInPlace src/tz_zoneinfo_read.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
28
28
+
substituteInPlace tz_convert/tz_convert.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
29
29
+
'';
30
30
+
31
31
+
postConfigure = "rm -rf libical"; # ensure pkgs.libical is used instead of one included in the orage sources
24
32
25
33
nativeBuildInputs = [ pkgconfig intltool bison flex ];
26
34