aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2017-05-09 22:44:19 +0300
committerLudovic Courtès <ludo@gnu.org>2017-05-20 10:16:02 +0200
commit37fd9567710b0fc0d7b083f8a1eba3528597c2f6 (patch)
treecd74fc6126cfd071cc1da293b14751f1a73c2e46
parentc90fd5564cf67f75e28276129d37a0d9128cadda (diff)
downloadpatches-37fd9567710b0fc0d7b083f8a1eba3528597c2f6.tar
patches-37fd9567710b0fc0d7b083f8a1eba3528597c2f6.tar.gz
build: Compile stackage only if 'guile-json' is available.
Fixes <http://bugs.gnu.org/26860>. This is a followup to commit 3089b5d3f5a31b191b68ce3aa9255b646940b642. * Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within 'if HAVE_GUILE_JSON'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index e1c7cdd7fa..b90f419b14 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -160,7 +160,6 @@ MODULES = \
guix/scripts/import/gnu.scm \
guix/scripts/import/nix.scm \
guix/scripts/import/hackage.scm \
- guix/scripts/import/stackage.scm \
guix/scripts/import/elpa.scm \
guix/scripts/environment.scm \
guix/scripts/publish.scm \
@@ -185,7 +184,8 @@ MODULES += \
guix/import/stackage.scm \
guix/scripts/import/crate.scm \
guix/scripts/import/gem.scm \
- guix/scripts/import/pypi.scm
+ guix/scripts/import/pypi.scm \
+ guix/scripts/import/stackage.scm
endif