build: Work around build problem on systems that lack (gnutls).

Reported at <https://lists.gnu.org/archive/html/guix-devel/2013-12/msg00002.html>.

* Makefile.am (MODULES): Shuffle modules to work around build failure
  on systems that lack the (gnutls) module.
This commit is contained in:
Ludovic Courtès 2013-12-05 22:49:51 +01:00
parent e7de5ac0d5
commit de1355f186

View file

@ -27,25 +27,16 @@ nodist_noinst_SCRIPTS = \
include gnu-system.am include gnu-system.am
MODULES = \ MODULES = \
guix/scripts/build.scm \
guix/scripts/download.scm \
guix/scripts/import.scm \
guix/scripts/package.scm \
guix/scripts/gc.scm \
guix/scripts/hash.scm \
guix/scripts/pull.scm \
guix/scripts/substitute-binary.scm \
guix/scripts/refresh.scm \
guix/base32.scm \ guix/base32.scm \
guix/records.scm \ guix/records.scm \
guix/hash.scm \ guix/hash.scm \
guix/utils.scm \ guix/utils.scm \
guix/download.scm \
guix/monads.scm \ guix/monads.scm \
guix/profiles.scm \ guix/profiles.scm \
guix/serialization.scm \ guix/serialization.scm \
guix/nar.scm \ guix/nar.scm \
guix/derivations.scm \ guix/derivations.scm \
guix/download.scm \
guix/gnu-maintenance.scm \ guix/gnu-maintenance.scm \
guix/licenses.scm \ guix/licenses.scm \
guix/build-system.scm \ guix/build-system.scm \
@ -71,12 +62,22 @@ MODULES = \
guix/build/rpath.scm \ guix/build/rpath.scm \
guix/packages.scm \ guix/packages.scm \
guix/snix.scm \ guix/snix.scm \
guix/scripts/download.scm \
guix/scripts/build.scm \
guix/scripts/import.scm \
guix/scripts/package.scm \
guix/scripts/gc.scm \
guix/scripts/hash.scm \
guix/scripts/pull.scm \
guix/scripts/substitute-binary.scm \
guix/scripts/refresh.scm \
guix.scm \ guix.scm \
$(GNU_SYSTEM_MODULES) $(GNU_SYSTEM_MODULES)
# Because of the autoload hack in (guix build download), we must build it # Because of the autoload hack in (guix build download), we must build it
# first to avoid errors on systems where (gnutls) is unavailable. # first to avoid errors on systems where (gnutls) is unavailable.
guix/scripts/download.go: guix/build/download.go guix/scripts/download.go: guix/build/download.go
guix/download.go: guix/build/download.go
GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go