mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
guix: Make sure UPDATES-DIR is valid.
* scripts/guix.in: Make sure UPDATES-DIR is not #f.
This commit is contained in:
parent
69ce1ffc7d
commit
00fa3d1457
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
|||
(and=> (getenv "HOME")
|
||||
(cut string-append <> "/.config")))
|
||||
(cut string-append <> "/guix/latest"))))
|
||||
(when (file-exists? updates-dir)
|
||||
(when (and updates-dir (file-exists? updates-dir))
|
||||
(push! updates-dir %load-path)
|
||||
(push! updates-dir %load-compiled-path)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue