This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 63b71a5152 guix: import: go: Sort inputs alphabetically.
63b71a5152 is described below

commit 63b71a5152f8fc318ce598563fa7f605006f8074
Author: Patrick Norton <[email protected]>
AuthorDate: Fri Dec 26 10:32:03 2025 -0500

    guix: import: go: Sort inputs alphabetically.
    
    * guix/import/go.scm: (go-module->guix-package): Sort propagated-inputs
    alphabetically.
    
    Change-Id: Ie21e7a819ba706c63f16ebf407ae0461780fa2d1
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 guix/import/go.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/guix/import/go.scm b/guix/import/go.scm
index 6cb6e0de84..0e65994d0e 100644
--- a/guix/import/go.scm
+++ b/guix/import/go.scm
@@ -688,12 +688,14 @@ When VERSION is unspecified, the latest version available 
is used."
                      '()
                      `(#:unpack-path ,root-module-path))))
         ,@(maybe-propagated-inputs
-           (map (match-lambda
-                  ((name version)
-                   (go-module->guix-package-name name (strip-v-prefix 
version)))
-                  (name
-                   (go-module->guix-package-name name)))
-                dependencies))
+           (sort!
+            (map (match-lambda
+                   ((name version)
+                    (go-module->guix-package-name name (strip-v-prefix 
version)))
+                   (name
+                    (go-module->guix-package-name name)))
+                 dependencies)
+            string<?))
         (home-page ,(format #f "https://~a"; root-module-path))
         (synopsis ,synopsis)
         (description ,(and=> description beautify-description))

Reply via email to