From 3089b5d3f5a31b191b68ce3aa9255b646940b642 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 26 Mar 2017 02:38:33 -0400 Subject: [PATCH] import: stackage: Compile only if guile-json is available. * Makefile.am (MODULES): Move "guix/import/stackage.scm" within "if HAVE_GUILE_JSON". Sort the modules within that conditional. --- Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index cd2388ac65..06c85e981d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -129,7 +129,6 @@ MODULES = \ guix/import/cabal.scm \ guix/import/cran.scm \ guix/import/hackage.scm \ - guix/import/stackage.scm \ guix/import/elpa.scm \ guix/scripts.scm \ guix/scripts/download.scm \ @@ -168,15 +167,16 @@ if HAVE_GUILE_JSON MODULES += \ guix/docker.scm \ + guix/import/cpan.scm \ + guix/import/crate.scm \ + guix/import/gem.scm \ guix/import/github.scm \ guix/import/json.scm \ - guix/import/crate.scm \ - guix/scripts/import/crate.scm \ guix/import/pypi.scm \ - guix/scripts/import/pypi.scm \ - guix/import/cpan.scm \ + guix/import/stackage.scm \ + guix/scripts/import/crate.scm \ guix/scripts/import/gem.scm \ - guix/import/gem.scm + guix/scripts/import/pypi.scm endif