Browse Source

guix: Make sure UPDATES-DIR is valid.

* scripts/guix.in: Make sure UPDATES-DIR is not #f.
gn-latest-20200428
Ludovic Courtès 9 years ago
parent
commit
525ca3e912
  1. 2
      scripts/guix.in

2
scripts/guix.in

@ -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…
Cancel
Save