summary refs log tree commit diff
path: root/Makefile.am
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-17 16:20:06 +0200
commitbe62e2224ac292cbefeda8c6e1216c52aaf14808 (patch)
tree4b495db9ef69fdd9db82e7605c4621245d6e6730 /Makefile.am
parent102a0e88cd5c48324493b19dbe705376e47d6dc2 (diff)
downloadguix-be62e2224ac292cbefeda8c6e1216c52aaf14808.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>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 5bfc9ca88c..2dfb627239 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