Kei Yamashita <[email protected]> skribis:

> Is this what you mean?
>
> +             (let ((tzdata (assoc-ref %build-inputs "tzdata")))
> +               (substitute* "src/libical/icaltz-util.c"
> +                 (("char \\*search_paths \\[\\] =.*$")
> +                  (string-append
> +                   "char *search_paths [] = "
> +                   "{\"" tzdata "/share/zoneinfo\"};\n"))))

Exactly.

> From 3a1e3ef7815fb1ee7e79c00103471c01524de7dd Mon Sep 17 00:00:00 2001
> From: Kei Yamashita <[email protected]>
> Date: Tue, 10 May 2016 16:56:42 -0400
> Subject: [PATCH] gnu: Correct libical zoneinfo search path.
>
> * gnu/packages/calendar.scm (libical)[arguments]: substitute FHS-compliant
> zoneinfo folders with location of tzdata's zoneinfo folder.

Pushed, thank you!

Ludo’.

Reply via email to