guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error pulling custom channel that includes another third-party chann


From: Kaelyn
Subject: Re: Error pulling custom channel that includes another third-party channel
Date: Fri, 15 Apr 2022 15:24:03 +0000

------- Original Message -------
On Wednesday, April 13th, 2022 at 4:29 PM, B. Wilson <elaexuotee@wilsonb.com> 
wrote:


> Hey Guix,
>
> In my channels.scm, in addition to the primary guix channel I have my-channel
> and other-channel. This has worked just fine, until I added a commit in
> my-channel which use-modules something from other-channel.
>
> Now guix pull fails when attempting to build my-channel:
>
> (exception misc-error (value #f) (value "no code for module ~S") (value 
> ((other channel module))) (value #f))
>
> What am I missing?
>
> Just to be clear, locally building with `guix build -L path/to/my-channel foo`
> succeeds just fine. Is there somewhere inside my-channel where I need to
> explicitly declare the dependency on other-channel?
>
> Any help appreciated. Cheers,
>
> BW

Hello! I have a local guix channel that depends on another channel. Basically 
in the top-level folder of your channel's git repo, you need a .guix-channel 
file declaring the dependency (in a fashion similar to channels.scm). For 
example, for my-channel:

(channel
 (version 0)
 (dependencies
  (channel
    (name other-channel)
    (url "http://other-channel";)
    (branch "master"))))

HTH!

Cheers,
Kaelyn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]