diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-09-12 10:05:00 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-09-12 10:05:00 -0400 |
commit | 4cb2e08b8eb1acc824b72ec17b483d7d85b5af68 (patch) | |
tree | 0dcbaf4f360dff380e7fd3ae550b76dc7a898d39 | |
parent | f0e05411bdcb36f5adba493555c360799307f641 (diff) |
gnu: python-django-4.0: Use $TZDIR.
* gnu/packages/django.scm (python-django-4.0) [native-search-paths]: Use
$TZDIR.
-rw-r--r-- | gnu/packages/django.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index b089954b6b..577789e988 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -34,6 +34,7 @@ #:use-module (guix gexp) #:use-module (guix build-system python) #:use-module (guix deprecation) + #:use-module (guix search-paths) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -126,9 +127,7 @@ ;; Set TZDIR when 'tzdata' is available so that timezone functionality ;; works (mostly) out of the box in containerized environments. ;; Note: This search path actually belongs to 'glibc'. - (list (search-path-specification - (variable "TZDIR") - (files '("share/zoneinfo"))))) + (list $TZDIR)) (home-page "https://www.djangoproject.com/") (synopsis "High-level Python Web framework") (description |