mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
utils: Make `set-path-environment-variable' verbose.
* guix/build/utils.scm (set-path-environment-variable): Print ENV-VAR and its value.
This commit is contained in:
parent
5f805fdf17
commit
9d9ef458e8
1 changed files with 5 additions and 4 deletions
|
@ -98,10 +98,11 @@ (define* (set-path-environment-variable env-var sub-directories input-dirs
|
|||
'(\"lib/pkgconfig\")
|
||||
(list package1 package2))
|
||||
"
|
||||
(setenv env-var
|
||||
(list->search-path-as-string (search-path-as-list sub-directories
|
||||
input-dirs)
|
||||
separator)))
|
||||
(let* ((path (search-path-as-list sub-directories input-dirs))
|
||||
(value (list->search-path-as-string path separator)))
|
||||
(setenv env-var value)
|
||||
(format #t "environment variable `~a' set to `~a'~%"
|
||||
env-var value)))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Loading…
Reference in a new issue