diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2019-01-04 17:59:49 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-01-04 17:59:49 +0300 |
| commit | f0a9fb3506a195152df8f78c905f152be8e47949 (patch) | |
| tree | c1129458e77e36aa5a58b13b3124f675c5d473d0 | |
| parent | zabbix_guix: Change mode to 100755. (diff) | |
| download | zabbix-guix-f0a9fb3506a195152df8f78c905f152be8e47949.tar.gz | |
zabbix.scm: Check if 'HOME' is defined.
* zabbix.scm (main): Check if 'HOME' is defined.
| -rw-r--r-- | zabbix.scm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -113,7 +113,9 @@ newspace." channels)) (define remote (or (assq-ref opts 'remote) - (string-append (getenv "HOME") "/.config/guix/channels.scm"))) + (and=> (getenv "HOME") + (lambda (home) + (string-append home "/.config/guix/channels.scm"))))) (define profile (or (assq-ref opts 'profile) (current-profile))) |
