From fd62b4cf88578ebd8f42ccda94831a254425a329 Mon Sep 17 00:00:00 2001
From: Ludovic Courtès <ludo@gnu.org>
Date: Mon, 28 Jun 2021 23:52:30 +0200
Subject: guix build: Autoload (gnu packages).

* guix/scripts/build.scm: Autoload (gnu packages).
---
 guix/scripts/build.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 97e2f5a167..187ba45e79 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -46,7 +46,9 @@
   #:use-module (srfi srfi-34)
   #:use-module (srfi srfi-35)
   #:use-module (srfi srfi-37)
-  #:use-module (gnu packages)
+  #:autoload   (gnu packages) (%package-module-path
+                               %patch-path
+                               specification->package)
   #:use-module ((guix status) #:select (with-status-verbosity))
   #:use-module ((guix progress) #:select (current-terminal-columns))
   #:use-module ((guix build syscalls) #:select (terminal-columns))
-- 
cgit v1.2.3