Hi Tomas,

Tomas Volf <[email protected]> skribis:

> --8<---------------cut here---------------start------------->8---
> ice-9/eval.scm:223:20: In procedure proc:
> error: guix-channel?: unbound variable
> hint: Did you forget `(use-modules (guix channels))' or `#:use-module (guix 
> channels)'?
> --8<---------------cut here---------------end--------------->8---

The suggestion is bogus in this case: ‘use-modules’ is not allowed.

> If I understand it right, that is because guix-channel? is not part of
> the new sandbox.  However I am not sure hot to solve this.

It’s a mistake, we should add ‘guix-channel?’ to the set of default
bindings.  Here’s the proposed fix:

  https://codeberg.org/guix/guix/pulls/8562

In the meantime, there are two ways to work around it:

  • (filter (lambda (channel) (not (eq? (channel-name channel) ’guix))) …)

  • or use ‘--unsafe-channel-evaluation’ until the fix above is merged.

HTH!

Ludo’.

Reply via email to