mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: python-3.9: Add a search path specification for PYTHONTZPATH.
Python 3.9 implemented PEP 615 (<)https://www.python.org/dev/peps/pep-0615/>), which relies on either a compiled time default value or the PYTHONTZPATH environment variable to find the system tzdata database. * gnu/packages/python.scm (python-3.9)[native-search-paths]: Add a new search path specification for PYTHONTZPATH.
This commit is contained in:
parent
c967e2c431
commit
5f20a34745
1 changed files with 6 additions and 1 deletions
|
@ -475,7 +475,12 @@ (define-public python-3.9
|
|||
(variable "PYTHONPATH")
|
||||
(files (list (string-append "lib/python"
|
||||
(version-major+minor version)
|
||||
"/site-packages"))))))))
|
||||
"/site-packages"))))
|
||||
;; Used to locate tzdata by the zoneinfo module introduced in
|
||||
;; Python 3.9.
|
||||
(search-path-specification
|
||||
(variable "PYTHONTZPATH")
|
||||
(files (list "share/zoneinfo")))))))
|
||||
|
||||
;; Current 3.x version.
|
||||
(define-public python-3 python-3.9)
|
||||
|
|
Loading…
Reference in a new issue