mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-06-12 02:04:04 +02:00
gnu: base: Add tzdata with leap-seconds.list.
tzdata itself doesn't provide this file, which is needed for hare. * gnu/packages/base.scm (tzdata/leap-seconds): New variable. Change-Id: Ie13de687241ed0b05a04080381d3ab31c3e7f3b2 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
committed by
Liliana Marie Prikler
parent
accf2b991a
commit
f219acdb3a
@@ -1883,6 +1883,20 @@ 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")
|
||||
|
||||
Reference in New Issue
Block a user