self: Remove the empty string from '%load-extensions'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 7 Dec 2020 15:01:36 +0000 (16:01 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 11 Dec 2020 18:06:54 +0000 (19:06 +0100)
* guix/self.scm (guix-command): Set '%load-extensions'.

guix/self.scm

index ca67f65..7cda665 100644 (file)
@@ -649,6 +649,9 @@ load path."
 
   (program-file "guix-command"
                 #~(begin
+                    ;; Remove the empty extension from the search path.
+                    (set! %load-extensions '(".scm"))
+
                     (set! %load-path
                       (append (list (string-append #$module-directory
                                                    "/share/guile/site/"