summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-29 00:10:54 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-29 00:10:54 +0200
commit05528dcd4827ef449e2014794ab74085e57651b9 (patch)
tree051691740a55202c910e1eff2e2aa685ffb12847
parentfd62b4cf88578ebd8f42ccda94831a254425a329 (diff)
downloadguix-05528dcd4827ef449e2014794ab74085e57651b9.tar.gz
Revert "guix build: Autoload (gnu packages)."
This reverts commit fd62b4cf88578ebd8f42ccda94831a254425a329, which
would lead 'GUIX_PACKAGE_PATH' to be ignored for instance when using
'guix build -f file.scm', as shown by 'tests/guix-build.sh'.
-rw-r--r--guix/scripts/build.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 187ba45e79..97e2f5a167 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -46,9 +46,7 @@
   #:use-module (srfi srfi-34)
   #:use-module (srfi srfi-35)
   #:use-module (srfi srfi-37)
-  #:autoload   (gnu packages) (%package-module-path
-                               %patch-path
-                               specification->package)
+  #:use-module (gnu packages)
   #:use-module ((guix status) #:select (with-status-verbosity))
   #:use-module ((guix progress) #:select (current-terminal-columns))
   #:use-module ((guix build syscalls) #:select (terminal-columns))