Hi Bryan,

Bryan Ferris <[email protected]> skribis:

> Ludovic: I have one file, jekyll.scm, which contains jekyll and it's
> dependencies, and the only thing I do to it is run `guix package -f
> jekyll.scm`. I had assumed that this command would take care of things like
> compiling the packages. Is this not the case?

It’s definitely the case.

The problem in the file you posted can be seen by running:

  guix graph -e '(load "/tmp/jekyll.scm")' | dot -Tps > t.ps
  evince t.ps

This shows that there’s a cycle: ‘ruby-jekyll’ depends on itself.  This
triggers an infinite loop in Guix (ideally it would diagnose this and
error out.)

The fix is to remove this line from the ‘ruby-jekyll’ definition:

      ("ruby-jekyll" ,ruby-jekyll)

HTH!

Ludo’.

Reply via email to