summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-12 10:03:44 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-09-12 10:03:44 -0400
commitf0e05411bdcb36f5adba493555c360799307f641 (patch)
tree78cd24f3066dcf094da0c4bb096dadb90e50c635 /guix
parent076b3384dfa29ae118d0375d516376a7fe98a197 (diff)
search-paths: Add $TZDIR.
* guix/search-paths.scm ($TZDIR): New search path.
Diffstat (limited to 'guix')
-rw-r--r--guix/search-paths.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/guix/search-paths.scm b/guix/search-paths.scm
index fcbe7b7953..8dc81861c9 100644
--- a/guix/search-paths.scm
+++ b/guix/search-paths.scm
@@ -37,6 +37,7 @@
$PKG_CONFIG_PATH
$SSL_CERT_DIR
$SSL_CERT_FILE
+ $TZDIR
search-path-specification->sexp
sexp->search-path-specification
@@ -104,16 +105,22 @@
(define $SSL_CERT_DIR
(search-path-specification
(variable "SSL_CERT_DIR")
- (separator #f) ;single entry
+ (separator #f) ;single entry
(files '("etc/ssl/certs"))))
(define $SSL_CERT_FILE
(search-path-specification
(variable "SSL_CERT_FILE")
(file-type 'regular)
- (separator #f) ;single entry
+ (separator #f) ;single entry
(files '("etc/ssl/certs/ca-certificates.crt"))))
+(define $TZDIR
+ (search-path-specification
+ (variable "TZDIR")
+ (files '("share/zoneinfo"))
+ (separator #f))) ;single entry
+
(define (search-path-specification->sexp spec)
"Return an sexp representing SPEC, a <search-path-specification>. The sexp
corresponds to the arguments expected by `set-path-environment-variable'."