mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
search-paths: Add $TZDIR.
* guix/search-paths.scm ($TZDIR): New search path.
This commit is contained in:
parent
076b3384df
commit
f0e05411bd
1 changed files with 9 additions and 2 deletions
|
@ -37,6 +37,7 @@ (define-module (guix search-paths)
|
|||
$PKG_CONFIG_PATH
|
||||
$SSL_CERT_DIR
|
||||
$SSL_CERT_FILE
|
||||
$TZDIR
|
||||
|
||||
search-path-specification->sexp
|
||||
sexp->search-path-specification
|
||||
|
@ -104,16 +105,22 @@ (define $PKG_CONFIG_PATH
|
|||
(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'."
|
||||
|
|
Loading…
Reference in a new issue