Subject: [bug#38678] Command line option in addition to GUIX_PACKAGE_PATH - Reason?

From: zimoun <[email-masked]>
Date: Fri, 17 Jan 2020 19:14:15 +0100

What mess did you do Pierre? :-)

Why are you the author of ee9a735bc8 [1]?
Why there are lines modified in guix.texi 21f4fbdd84 [2] which are not
in the original patch [3]?

[1] https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ee9a735bc8f544cf8eedc6c6a7e4ed2962663013
[2] https://git.savannah.gnu.org/cgit/guix.git/commit/?id=21f4fbdd8453e489fb89825c4226a0a0bda2bc17
[3] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38678#65

Or why I have missed?

Attached the change fix your early push of the 'refresh' patch. :-)

Cheers,
simon
From 8dfcf205f023b609117f3da9007e830df406357b Mon Sep 17 00:00:00 2001
From: zimoun <[email-masked]>
Date: Fri, 17 Jan 2020 18:30:00 +0100
Subject: [PATCH 1/1] refresh: Fix internal variable name.

* guix/scripts/refresh.scm (%option): Fix internal variable name.
---
 guix/scripts/refresh.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index bc8e906054..efada1df5a 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -120,16 +120,16 @@
 
         ;; The short option -L is already used by --list-updaters, therefore
         ;; it needs to be removed from %standard-build-options.
-        (let ((%load-path-option (find (lambda (option)
+        (let ((load-path-option (find (lambda (option)
                                          (member "load-path"
                                                  (option-names option)))
                                        %standard-build-options)))
           (option
            (filter (lambda (name) (not (equal? #\L name)))
-                   (option-names %load-path-option))
-           (option-required-arg? %load-path-option)
-           (option-optional-arg? %load-path-option)
-           (option-processor     %load-path-option)))
+                   (option-names load-path-option))
+           (option-required-arg? load-path-option)
+           (option-optional-arg? load-path-option)
+           (option-processor     load-path-option)))
 
         (option '(#\h "help") #f #f
                 (lambda args
-- 
2.23.0