aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2017-03-26 02:38:33 -0400
committerMark H Weaver <mhw@netris.org>2017-03-26 03:07:33 -0400
commit3089b5d3f5a31b191b68ce3aa9255b646940b642 (patch)
treec5e7c10498064258f16cb2ec525a1baf387efe6e
parent5f19fb6a2641f1af977ff45febece2d5724d6049 (diff)
downloadpatches-3089b5d3f5a31b191b68ce3aa9255b646940b642.tar
patches-3089b5d3f5a31b191b68ce3aa9255b646940b642.tar.gz
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.
-rw-r--r--Makefile.am12
1 files 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