Unbounded Hoot variable in guix system

I tried setting up a development environment to run Hoot in several ways:
Installing the binary with guile shell alongside home guile and guile package
Building from source with guile shell
I waited a long time for the compilation to complete for the last one

In all cases, when executing the command:
guile -c ‘(( (hoot web-server) serve))’
I encountered this error:
Unbound variable: hoot

Why is hoot not included in the system variables?
Is this because hoot uses guile next?
What should I do in this case?

Hi @sumerian,

That command doesn’t look correct. It should be guile -c '((@ (hoot web-server) serve))', note the @.

To build Hoot, you’ll want Guile 3.0.10 or a build of Guile’s main branch. If you use Guix you can create a dev environment quickly with guix shell guile-next guile-hoot.

Hope this helps!

Thanks for your attention
The note you mentioned worked

But on the Spritely site in the Hoot tutorial section, they had put this command in the same way I wrote it
As for the environment command, I tried to edit the post several times before publishing it, but there was no option to do so
Not even now

Thank you anyway

1 Like

Ah, you’re right! @ is a special character in the Texinfo format and so it was removed from my code example unexpectedly. Thank you for pointing out this issue and sorry for the confusion! I pushed a fix to the Hoot main branch and the published manual will be fixed in the next couple of weeks when we release 0.6.0.

1 Like