mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
ui: Remove the empty string from '%load-extensions'.
* guix/ui.scm (run-guix): Set %LOAD-EXTENSIONS.
This commit is contained in:
parent
7ebc6cf869
commit
cbee955901
1 changed files with 4 additions and 0 deletions
|
@ -1326,6 +1326,10 @@ (define (run-guix . args)
|
|||
and signal handling has already been set up."
|
||||
(define option? (cut string-prefix? "-" <>))
|
||||
|
||||
;; The default %LOAD-EXTENSIONS includes the empty string, which doubles the
|
||||
;; number of 'stat' calls per entry in %LOAD-PATH. Shamelessly remove it.
|
||||
(set! %load-extensions '(".scm"))
|
||||
|
||||
(match args
|
||||
(()
|
||||
(format (current-error-port)
|
||||
|
|
Loading…
Reference in a new issue