guix_mirror_bot pushed a commit to branch add-compress-debug-symbols-phase in repository guix.
commit 6ac42295cadf4c18dd8221abfb4013d1a8e1f996 Author: Maxim Cournoyer <[email protected]> AuthorDate: Wed Nov 5 08:24:59 2025 +0900 gnu: tzdata: Install leap-seconds.list file. * gnu/packages/base.scm (tzdata/leap-seconds): Delete variable. (tzdata) [#:phases] {post-install}: Install leap-seconds.list. Change-Id: I86cefd027e945281fd7ab5d966c770163d69b484 --- gnu/packages/base.scm | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 14c9728d38..ca08ae8ed1 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -1733,7 +1733,9 @@ command.") (copy-recursively (string-append out "/share/zoneinfo-leaps") (string-append out "/share/zoneinfo/right")) (delete-file-recursively - (string-append out "/share/zoneinfo-leaps"))))) + (string-append out "/share/zoneinfo-leaps")) + (install-file "leap-seconds.list" + (string-append out "/share/zoneinfo"))))) (delete 'configure)))) (inputs (list (origin (method url-fetch) @@ -1762,20 +1764,6 @@ and daylight-saving rules.") ;;; package. (define-public tzdata-for-tests tzdata) -;;; TODO: Move the 'install-leap-seconds' phase into the main package's -;;; 'post-install' phase on the next rebuild cycle. -(define-public tzdata/leap-seconds - (hidden-package - (package/inherit tzdata - (arguments - (substitute-keyword-arguments (package-arguments tzdata) - ((#:phases phases) - #~(modify-phases #$phases - (add-after 'post-install 'install-leap-seconds - (lambda _ - (install-file "leap-seconds.list" - (string-append #$output "/share/zoneinfo"))))))))))) - (define-public libiconv (package (name "libiconv")
