diff options
author | David Thompson <davet@gnu.org> | 2016-12-30 14:15:35 -0500 |
---|---|---|
committer | David Thompson <davet@gnu.org> | 2016-12-30 14:15:35 -0500 |
commit | 6023041346c79f7ac4105bba2552a82019fae840 (patch) | |
tree | e9b83d0408b7ff0bc89bb187d5fb4b8098cc766d | |
parent | 4037e5f52b26322d23687227dfee118b29d3af56 (diff) | |
download | guix-6023041346c79f7ac4105bba2552a82019fae840.tar.gz |
import: crate: Do not build when guile-json is not available.
* Makefile.am (MODULES): Add 'guix/import/crate.scm' and 'guix/scripts/import/crate.scm' only when HAVE_GUILE_JSON.
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 15939af12a..97629f26e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -122,7 +122,6 @@ MODULES = \ guix/import/snix.scm \ guix/import/cabal.scm \ guix/import/cran.scm \ - guix/import/crate.scm \ guix/import/hackage.scm \ guix/import/elpa.scm \ guix/scripts.scm \ @@ -142,7 +141,6 @@ MODULES = \ guix/scripts/lint.scm \ guix/scripts/challenge.scm \ guix/scripts/import/cran.scm \ - guix/scripts/import/crate.scm \ guix/scripts/import/gnu.scm \ guix/scripts/import/nix.scm \ guix/scripts/import/hackage.scm \ @@ -162,6 +160,8 @@ if HAVE_GUILE_JSON MODULES += \ 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 \ |