guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/09: self: Remove the empty string from '%load-extensions'.


From: guix-commits
Subject: 07/09: self: Remove the empty string from '%load-extensions'.
Date: Fri, 11 Dec 2020 13:07:33 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 41d01b4e2e74a3e655bac03c241f0de7cb34b75f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 7 16:01:36 2020 +0100

    self: Remove the empty string from '%load-extensions'.
    
    * guix/self.scm (guix-command): Set '%load-extensions'.
---
 guix/self.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/guix/self.scm b/guix/self.scm
index ca67f65..7cda665 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/"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]