guix-commits
[Top][All Lists]
Advanced

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

01/07: channels: Autoload several modules.


From: guix-commits
Subject: 01/07: channels: Autoload several modules.
Date: Fri, 29 Mar 2024 20:05:56 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 80a135d64bcf0b4fc567077ec35cf4275085114f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Mar 29 15:36:50 2024 +0100

    channels: Autoload several modules.
    
    * guix/channels.scm: Autoload several Git-related modules.
    
    Change-Id: I23e46eabdbfa9db340e26006419b4b87bb446853
---
 guix/channels.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/guix/channels.scm b/guix/channels.scm
index 1b07eb5221..66f3122f79 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2018-2023 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2018-2024 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
@@ -20,12 +20,14 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (guix channels)
-  #:use-module (git)
-  #:use-module (guix git)
-  #:use-module (guix git-authenticate)
-  #:use-module ((guix openpgp)
-                #:select (openpgp-public-key-fingerprint
-                          openpgp-format-fingerprint))
+  #:use-module (git)                              ;TODO: autoload
+  #:autoload   (guix git) (update-cached-checkout
+                           url+commit->name
+                           commit-difference
+                           with-repository)
+  #:autoload   (guix git-authenticate) (authenticate-repository)
+  #:autoload   (guix openpgp) (openpgp-public-key-fingerprint
+                               openpgp-format-fingerprint)
   #:use-module (guix base16)
   #:use-module (guix records)
   #:use-module (guix gexp)



reply via email to

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