# Guix pull no longer working - error: use-modules: unbound variable

**URL:** <https://forum.systemcrafters.net/t/guix-pull-no-longer-working-error-use-modules-unbound-variable/2078>\
**Category:** Guix\
**Created:** [July 12, 2026, 12:44pm UTC](https://forum.systemcrafters.net/t/guix-pull-no-longer-working-error-use-modules-unbound-variable/2078 "2026-07-12T12:44:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Folaht](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/folaht/32/1145_2.png) [@Folaht](https://forum.systemcrafters.net/u/Folaht)\
**Post date:** [July 12, 2026, 12:44pm UTC](https://forum.systemcrafters.net/t/guix-pull-no-longer-working-error-use-modules-unbound-variable/2078/1 "2026-07-12T12:44:25Z")

</div>

For whatever reason my guix pull isn’t working.

```shell
$ guix pull
ice-9/eval.scm:223:20: In procedure proc:
error: use-modules: unbound variable
hint: Did you forget `(use-modules (guile))' or `#:use-module (guile)'?

```

_~/.config/guix/channels.scm_

````scheme
(use-modules (guix channels))

(cons* 

#|
  (channel
         (name 'cast)
         (url "")
         (branch "main")
         (introduction
          (make-channel-introduction
           "fab73647fd9f0f2167d9ef9d42cddd77500fffb3"
           (openpgp-fingerprint
            "D430 1F59 A65F 49DA 918A 3C0D 8D4C 3248 29DE D156"))))
       (channel
          (name 'yrop)
          (url "")
          (branch "main")
          (introduction
           (make-channel-introduction
            "6f7986c28d4ff8f9c17f708fcf9afb428c93eef1"
            (openpgp-fingerprint
             "19F7 AEB0 4E16 D355 8939 07C1 D6CC DD11 AF4E 07E1"))))
 |#
       %default-channels)```

````

---

<div class="post-metadata">

**Author:** ![Folaht](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/folaht/32/1145_2.png) [@Folaht](https://forum.systemcrafters.net/u/Folaht)\
**Post date:** [July 13, 2026, 4:24am UTC](https://forum.systemcrafters.net/t/guix-pull-no-longer-working-error-use-modules-unbound-variable/2078/2 "2026-07-13T04:24:28Z")

</div>

I botched a system reconfigure prior.  
I edited my system reconfiguration and reconfigured again.

```shell
$ guix system reconfigure /etc/config.scm

```

Unfortunately, that did not do the trick.

[update]

I am able to run it with the `--unsafe-channel-evaluation` argument.

```shell
$ guix pull --unsafe-channel-evaluation

```

---

<div class="post-metadata">

**Author:** ![Septimus](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@Septimus](https://forum.systemcrafters.net/u/Septimus)\
**Post date:** [July 14, 2026, 1:39am UTC](https://forum.systemcrafters.net/t/guix-pull-no-longer-working-error-use-modules-unbound-variable/2078/3 "2026-07-14T01:39:17Z")

</div>

Had the same issue, it’s because recently the guix devs added a feature to allow for urls to be passed to guix pull for channel options. To implement this, channel files, both local and pulled from a url with the -C option, are evaluated in an isolated environment so they don’t run arbitrary code. So, any existing channel files need to be changed because they are not among the users “trusted” channels that can be expected not to run some arbitrary code when pulled from. To fix this you can change your channels.scm file to “trusted-channels.scm” 🙂
