summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5932e1350a..cabbe21cdd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -164,6 +164,9 @@ MODULES =					\
   gnu/packages/zip.scm				\
   gnu/system/vm.scm
 
+# Because of the autoload hack in (guix build download), we must build it
+# first to avoid errors on systems where (gnutls) is unavailable.
+guix/scripts/download.go: guix/build/download.go
 
 GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go