pack: Use 'guile2.0-json' when building with Guile 2.0.
authorLudovic Courtès <ludo@gnu.org>
Sat, 20 May 2017 12:28:24 +0000 (14:28 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 20 May 2017 12:39:50 +0000 (14:39 +0200)
commit96afb480f8165a315a69b1dd3a031e053044d3b2
treefef54dcd56521c91cece448b652b49c921103e03
parent7dccad95b62871af048dd2d337579424f07595f2
pack: Use 'guile2.0-json' when building with Guile 2.0.

Fixes <http://bugs.gnu.org/27005>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

Fixes a regression introduced in commit
2252f087d4bd450ab41a71379320467887edfc0f.

* guix/scripts/pack.scm (docker-image)[json]: New variable.
[build]: Use it.
guix/scripts/pack.scm