summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-28 23:52:30 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-29 00:00:14 +0200
commitfd62b4cf88578ebd8f42ccda94831a254425a329 (patch)
tree821af2c8946833583ce1e848ef987d3c03ab5a82
parentf386a993ef9b75e37d708aee5f78312f7bcc9425 (diff)
downloadguix-fd62b4cf88578ebd8f42ccda94831a254425a329.tar.gz
guix build: Autoload (gnu packages).
* guix/scripts/build.scm: Autoload (gnu packages).
-rw-r--r--guix/scripts/build.scm4
1 files changed, 3 insertions, 1 deletions
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))