summary refs log tree commit diff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-12 10:05:00 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-12 10:05:00 -0400
commit4cb2e08b8eb1acc824b72ec17b483d7d85b5af68 (patch)
tree0dcbaf4f360dff380e7fd3ae550b76dc7a898d39 /gnu/packages/django.scm
parentf0e05411bdcb36f5adba493555c360799307f641 (diff)
downloadguix-4cb2e08b8eb1acc824b72ec17b483d7d85b5af68.tar.gz
gnu: python-django-4.0: Use $TZDIR.
* gnu/packages/django.scm (python-django-4.0) [native-search-paths]: Use
$TZDIR.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm5
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