# Help with Guix pull and guix system reconfigure

**URL:** <https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798>\
**Category:** Guix\
**Created:** [June 17, 2024, 5:53pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798 "2024-06-17T17:53:46Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Motaik](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Motaik](https://forum.systemcrafters.net/u/Motaik)\
**Post date:** [June 17, 2024, 5:53pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/1 "2024-06-17T17:53:46Z")

</div>

Hey guys, I’ve recently installed guix on my pc, and was doing some post intallation stuff, like using guix pull and than `guix system -E reconfigure ~/.config/guix/system.scm`, but i’m getting a few errors that I can’t work around.

The result for guix pull is the following:

```auto
cannot build derivation `/gnu/store/iwsf3gkckkijf3szcvafv24ba5gwnh62-profile.drv': 1 dependencies couldn't be built
guix pull: erro: build of `/gnu/store/iwsf3gkckkijf3szcvafv24ba5gwnh62-profile.drv' failed

```

and for guix system reconfigure:

```auto
guix system: error: fail to load ".config/guix/system.scm":
ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
no code for module (nongnu packages linux)

```

At some point guix system reconfigure was kinda working, and was doing it stuff, until the point were it couldn’t compile the linux kernel.

I tried looking into the var logs, and it said at the end:

```auto
libbpf: failed to find '.BTF' ELF section in vmlinux
FAILED: load BTF from vmlinux: No data available
make[2]: *** [scripts/Makefile.vmlinux:37: vmlinux] Error 255
make[2]: *** Deleting file 'vmlinux'
make[1]: *** [/tmp/guix-build-linux-6.9.4.drv-0/linux-6.9.4/Makefile:1160: vmlinux] Error 2
make: *** [Makefile:240: __sub-make] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 5247.6 seconds
command "make" "-j" "8" failed with status 2

```

I tried installing `libelf` and `libbpf` packages, but it did nothing, instead of stoping guix pull from going trough.

Does anyone knows how to adress it?

Thanks a lot in advance!

---

<div class="post-metadata">

**Author:** ![tinhead](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/tinhead/32/602_2.png) [@tinhead](https://forum.systemcrafters.net/u/tinhead)\
**Post date:** [June 17, 2024, 6:35pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/2 "2024-06-17T18:35:32Z")

</div>

Hello,

The reconfigure error seems to indicate it does not know where to find nonguix Linux.

Try guix pull -C /where-your-channels-file-is (/etc/guix/channels.scm maybe?)

Cheers,  
TH

---

<div class="post-metadata">

**Author:** ![Motaik](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Motaik](https://forum.systemcrafters.net/u/Motaik)\
**Post date:** [June 17, 2024, 6:55pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/3 "2024-06-17T18:55:33Z")

</div>

Hi,

I tried what you suggested, as follows: `guix pull -C ~/.config/guix/channels.scm`. The result was:

```auto
the compilation of /gnu/store/sbkas5640mgbgyxrnlw8j07jis9ca2yb-nonguix.drv falhou
See the compilation log in
"/var/log/guix/drvs/sb/kas5640mgbgyxrnlw8j07jis9ca2yb-nonguix.drv.gz".
cannot build derivation `/gnu/store/8dcnbnpcahhrf8r7bmyyj5ayccm9d5l3-profile.drv': 1 dependencies couldn't be built
guix pull: erro: build of `/gnu/store/8dcnbnpcahhrf8r7bmyyj5ayccm9d5l3-profile.drv' failed

```

Here’s my `channels.scm` file:

```auto
(list (channel
        (name 'guix)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (branch "master")
        (introduction
          (make-channel-introduction
            "9edb3f66fd807b096b48283debdcddccfea34bad"
            (openpgp-fingerprint
              "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
      (channel
        (name 'nonguix)
        (url "https://gitlab.com/nonguix/nonguix")
        (introduction
          (make-channel-introduction
            "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
            (openpgp-fingerprint
              "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))))

```

And some of my `system.scm` :

```auto
(use-modules (gnu)
	     (nongnu packages linux)
	     (nongnu system linux-initrd))

(use-service-modules cups desktop networking ssh xorg)

(operating-system
 (kernel linux)
 (initrd microcode-initrd)
 (firmware (list linux-firmware))

```

Any idea how to procced?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![altomcat](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/altomcat/32/583_2.png) [@altomcat](https://forum.systemcrafters.net/u/altomcat)\
**Post date:** [June 18, 2024, 7:11am UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/4 "2024-06-18T07:11:14Z")

</div>

> [@Motaik](#):
>
> ```auto
> See the compilation log in
> "/var/log/guix/drvs/sb/kas5640mgbgyxrnlw8j07jis9ca2yb-nonguix.drv.gz".
> 
> ```

Do you find more details in the generated log ?

---

<div class="post-metadata">

**Author:** ![theesm](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/theesm/32/175_2.png) [@theesm](https://forum.systemcrafters.net/u/theesm)\
**Post date:** [June 18, 2024, 1:50pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/5 "2024-06-18T13:50:48Z")

</div>

We removed `linux-libre-6.8` from guix proper yesterday as it was end of life for a while now; this caused `libbpf` which was specifically depending on `linux-libre-6.8 headers` to break, as the variable wasn’t available anymore, which then caused `guix pull` to break for a few hours as there now was a dysfunctional package in guix. I’d say you could try to `guix system reconfigure` again & everything _should_ work as expected now.

---

<div class="post-metadata">

**Author:** ![Motaik](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Motaik](https://forum.systemcrafters.net/u/Motaik)\
**Post date:** [June 18, 2024, 5:07pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/6 "2024-06-18T17:07:13Z")

</div>

Hey guys,

One way i was able to make `guix system reconfigure` to work yesterday was to run `guix build /gnu/store/...linux.6.9.4` on it’s own. Then, the first command worked just fine. Maybe it just needed some time as pointed out for @theesm.

Thanks a lot for all the help!

---

<div class="post-metadata">

**Author:** ![Motaik](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Motaik](https://forum.systemcrafters.net/u/Motaik)\
**Post date:** [June 19, 2024, 9:06pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/7 "2024-06-19T21:06:57Z")

</div>

Hey @theesm, how are you?

As it turns out, I said that the issue was resolved, however, later on I tried another `guix system reconfigure` just to make sure everything was ok. And for my surprise, the error persisted. When I looked into the logs, I got this:

```auto
.
.
.
scripts/link-vmlinux.sh: line 111:9528 killed LLVM_OBJCOPY="${OBJCOPY}" ${PAHOLE} -J ${PAHOLE_FLAGS} ${1}
LD .tmp_vmlinux.kallsyms1
.btf.vmlinux.bin.o: file not recognized: file format not recofnized
make[2]: *** [scripts/Makefile.vmlinux:37: vmlinux] Error 1
make[1] *** [/tmp/guix-build-linux-6.9.4.drv-0/linux-6.9.4/Makefile:1160:vmlinux] Error 2
error: in phase 'build' : uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build` failed after 4588.0 seconds
command "make" "-j" "8" failed with status 2

```

Can you help me with this?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Tipex](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Tipex](https://forum.systemcrafters.net/u/Tipex)\
**Post date:** [December 28, 2024, 9:08pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/8 "2024-12-28T21:08:05Z")

</div>

Hi everybody, I’m facing the same issue. Despite many googling, I can’t find any solution solving this error. But maybe (in another thread (?)) this issue has already been solved (?) : any input or link would be grateful !  
Thanks

---

<div class="post-metadata">

**Author:** ![sls](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/sls/32/837_2.png) [@sls](https://forum.systemcrafters.net/u/sls)\
**Post date:** [December 29, 2024, 10:11am UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/9 "2024-12-29T10:11:28Z")

</div>

Is it really exactly the same issue? I would suggest opening a new thread otherwise. Btw are you aware of the guix mailing list? 🙂[https://lists.gnu.org/archive/html/bug-guix/](https://lists.gnu.org/archive/html/bug-guix/)  
[GNU Guix - Mailing Lists [Savannah]](https://savannah.gnu.org/mail/?group=guix)

---

<div class="post-metadata">

**Author:** ![Tipex](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Tipex](https://forum.systemcrafters.net/u/Tipex)\
**Post date:** [December 29, 2024, 4:03pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/10 "2024-12-29T16:03:07Z")

</div>

Thx for the reply sls.  
In a first approach: exactly the same

> guix system: error: fail to load “.config/guix/system.scm”:  
> ice-9/boot-9.scm:3330:6: In procedure resolve-interface:  
> no code for module (nongnu packages linux)

I’ll have a look on the Guix mailing list I wasn’t aware of (and search for this issue if already raised (if not I’ll open a new thread)) 😪

---

<div class="post-metadata">

**Author:** ![Tipex](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Tipex](https://forum.systemcrafters.net/u/Tipex)\
**Post date:** [January 12, 2025, 6:50pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/11 "2025-01-12T18:50:54Z")

</div>

Finally I reinstall the system and now it works …

---

<div class="post-metadata">

**Author:** ![petrus](https://avatars.discourse-cdn.com/v4/letter/p/ecd19e/32.png) [@petrus](https://forum.systemcrafters.net/u/petrus)\
**Post date:** [January 20, 2026, 4:37am UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/12 "2026-01-20T04:37:39Z")

</div>

Hello, Iam getting the same problem here.

I do guix pull

I do sudo -E guix system reconfigure /etc/config.scm

an get the error:

guix system: error: couldn’t load ‘/etc/config.scm’:  
ice-9/boot-9.scm:3330:6: In procedure resolve-interface:  
no code for module (nongnu packages linux)

I used to do guix pull and guix system reconfigure fine.

I did a rollback to previous generation, tryed guix system reconfigure and still not working. Reading this forum thread, and googling around similar messages, including guix mailing list, I cannot find any solution.

Any help or hint appreciated!

Thanks

---

<div class="post-metadata">

**Author:** ![ceede](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/ceede/32/846_2.png) [@ceede](https://forum.systemcrafters.net/u/ceede)\
**Post date:** [January 21, 2026, 2:05am UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/13 "2026-01-21T02:05:37Z")

</div>

I think I had installed guix as a user-space package once and was getting errors like this and a patron of the nonguix’s irc was able to help me identity this issue. But it wouldn’t hurt to read the guix pull & system sections of the manual, to see if there are some commands you can use to help diagnose why the system isn’t seeing all your channels.

---

<div class="post-metadata">

**Author:** ![petrus](https://avatars.discourse-cdn.com/v4/letter/p/ecd19e/32.png) [@petrus](https://forum.systemcrafters.net/u/petrus)\
**Post date:** [January 23, 2026, 6:46pm UTC](https://forum.systemcrafters.net/t/help-with-guix-pull-and-guix-system-reconfigure/798/14 "2026-01-23T18:46:25Z")

</div>

The funny thing is that the following day I could reconfigure.
