guix-commits
[Top][All Lists]
Advanced

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

02/03: More module autoload changes.


From: guix-commits
Subject: 02/03: More module autoload changes.
Date: Tue, 7 Jan 2020 06:25:17 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 7a0836cffdfe3ab9ee899602f218277646959144
Author: Ludovic Courtès <address@hidden>
AuthorDate: Tue Jan 7 10:35:02 2020 +0100

    More module autoload changes.
    
    This is a followup to 6a7c4636d4dec47eefa03c95da5a1315bd0e0413.
    
    * guix/scripts/build.scm: Adjust #:autoload clauses.
    * guix/scripts/gc.scm: Likewise.
---
 guix/scripts/build.scm | 4 ++--
 guix/scripts/gc.scm    | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 1ab3a80..bf307d1 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -43,10 +43,10 @@
   #:use-module (srfi srfi-26)
   #:use-module (srfi srfi-34)
   #:use-module (srfi srfi-37)
-  #:autoload   (gnu packages) (specification->package %package-module-path)
+  #:use-module (gnu packages)
   #:autoload   (guix download) (download-to-store)
   #:autoload   (guix git-download) (git-reference? git-reference-url)
-  #:autoload   (guix git) (git-checkout? git-checkout-url)
+  #:autoload   (guix git) (git-checkout git-checkout? git-checkout-url)
   #:use-module ((guix status) #:select (with-status-verbosity))
   #:use-module ((guix progress) #:select (current-terminal-columns))
   #:use-module ((guix build syscalls) #:select (terminal-columns))
diff --git a/guix/scripts/gc.scm b/guix/scripts/gc.scm
index 31a0507..ab7c133 100644
--- a/guix/scripts/gc.scm
+++ b/guix/scripts/gc.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès 
<address@hidden>
+;;; Copyright © 2012, 2013, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès 
<address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,7 +22,9 @@
   #:use-module (guix store)
   #:use-module (guix store roots)
   #:autoload   (guix build syscalls) (free-disk-space)
-  #:autoload   (guix profiles) (generation-profile profile-generations)
+  #:autoload   (guix profiles) (generation-profile
+                                profile-generations
+                                generation-number)
   #:autoload   (guix scripts package) (delete-generations)
   #:use-module (ice-9 match)
   #:use-module (ice-9 regex)



reply via email to

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