summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-07 16:01:36 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-11 19:06:54 +0100
commit41d01b4e2e74a3e655bac03c241f0de7cb34b75f (patch)
treeaf7277f02ef84d45ecabd6ef67957cb2e1c2e572
parentd20665ecbfe7278f550a1ed4cd76565013feab59 (diff)
downloadguix-41d01b4e2e74a3e655bac03c241f0de7cb34b75f.tar.gz
self: Remove the empty string from '%load-extensions'.
* guix/self.scm (guix-command): Set '%load-extensions'.
-rw-r--r--guix/self.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/self.scm b/guix/self.scm
index ca67f653fa..7cda6656c9 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -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/"