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.
This commit is contained in:
Mark H Weaver 2017-03-26 02:38:33 -04:00
parent 5f19fb6a26
commit 3089b5d3f5
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516

View File

@ -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