guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: python-django-4.0: Use $TZDIR.


From: guix-commits
Subject: 02/02: gnu: python-django-4.0: Use $TZDIR.
Date: Tue, 12 Sep 2023 10:16:37 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 4cb2e08b8eb1acc824b72ec17b483d7d85b5af68
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Sep 12 10:05:00 2023 -0400

    gnu: python-django-4.0: Use $TZDIR.
    
    * gnu/packages/django.scm (python-django-4.0) [native-search-paths]: Use
    $TZDIR.
---
 gnu/packages/django.scm | 5 ++---
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]