l...@gnu.org (Ludovic Courtès) writes: > Mathieu Lirzin <m...@gnu.org> skribis: >> IIUC the commit bab020d7ca50e4153cf24832d119389a37fa8f63 has made >> Guile-JSON non optional. > > Yes, a mistake. > >> What should we do about this? > > Something like this should work: > > diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm > index 3984a0b..4e9d1c8 100644 > --- a/guix/scripts/refresh.scm > +++ b/guix/scripts/refresh.scm [...] > Could you test in a JSON-less environment and report back?
It compiles and ‘guix refresh’ seems to work fine. Thank you very much Ludo! > Alternately, we could declare Guile-JSON to be mandatory. Since it is not packaged in Debian IMO it is not a good idea to depend on it. -- Mathieu Lirzin