unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* ./pre-inst-env with extra channels
@ 2022-11-23 11:11 EuAndreh
  2022-11-23 17:08 ` (
  2022-11-23 20:09 ` zimoun
  0 siblings, 2 replies; 5+ messages in thread
From: EuAndreh @ 2022-11-23 11:11 UTC (permalink / raw)
  To: help-guix

How can I use the Guix version of my Git clone, alongside its packages, 
services, etc. while still using extra channels?

Sample run: a build of my current system works:

     $ guix system build /etc/guix/configuration.scm
     /gnu/store/gfn6hpim1njlnr0d3p6mmvc4zgqmgqw6-system

But when trying to use the code from my clone, it fails to recognize the 
extra channels, available in the system-wide /etc/guix/channels.scm file:

     $ ./pre-inst-env guix system build /etc/guix/configuration.scm
     guix system: error: failed to load '/etc/guix/configuration.scm':
     ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
     no code for module (xyz euandreh queue)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ./pre-inst-env with extra channels
  2022-11-23 11:11 ./pre-inst-env with extra channels EuAndreh
@ 2022-11-23 17:08 ` (
  2022-11-23 21:54   ` EuAndreh
  2022-11-23 20:09 ` zimoun
  1 sibling, 1 reply; 5+ messages in thread
From: ( @ 2022-11-23 17:08 UTC (permalink / raw)
  To: EuAndreh, help-guix

On Wed Nov 23, 2022 at 11:11 AM GMT, EuAndreh wrote:
> How can I use the Guix version of my Git clone, alongside its packages, 
> services, etc. while still using extra channels?

You'll need to add the channels to the load path manually.

 ./pre-inst-env guix home reconfigure ~/conf/home.scm -L ~/.config/guix/current/share/guile/site/3.0

works for me.

    -- (


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ./pre-inst-env with extra channels
  2022-11-23 11:11 ./pre-inst-env with extra channels EuAndreh
  2022-11-23 17:08 ` (
@ 2022-11-23 20:09 ` zimoun
  2022-11-23 21:18   ` EuAndreh
  1 sibling, 1 reply; 5+ messages in thread
From: zimoun @ 2022-11-23 20:09 UTC (permalink / raw)
  To: EuAndreh, help-guix

Hi,

On Wed, 23 Nov 2022 at 11:11, EuAndreh <eu@euandre.org> wrote:

> But when trying to use the code from my clone, it fails to recognize the 
> extra channels, available in the system-wide /etc/guix/channels.scm file:
>
>      $ ./pre-inst-env guix system build /etc/guix/configuration.scm
>      guix system: error: failed to load '/etc/guix/configuration.scm':
>      ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
>      no code for module (xyz euandreh queue)

In addition to ( answer, you can use ’guix time-machine’ with an
appropriated channels.scm file,

        (list (channel
                (name 'guix)
                (url "https://home/path/to/your/local/checkout/of/guix")
                (branch "master"))
              (channel …)

then,

    guix time-machine -C channels.scm \
         -- system build /etc/guix/configuration.scm

It is another way without using “guix shell -D guix”, ./bootstrap,
./configure and make.  Well, it depends on what you are patching. :-)

Cheers,
simon


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ./pre-inst-env with extra channels
  2022-11-23 20:09 ` zimoun
@ 2022-11-23 21:18   ` EuAndreh
  0 siblings, 0 replies; 5+ messages in thread
From: EuAndreh @ 2022-11-23 21:18 UTC (permalink / raw)
  To: zimoun, help-guix

Come to think about it, I did this in the past, but I wanted a less 
roundabout way of get it to work.

For anyone else in a similar position looking for options, this does work :)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ./pre-inst-env with extra channels
  2022-11-23 17:08 ` (
@ 2022-11-23 21:54   ` EuAndreh
  0 siblings, 0 replies; 5+ messages in thread
From: EuAndreh @ 2022-11-23 21:54 UTC (permalink / raw)
  To: (, help-guix

I though that this should work, but it didn't.


I just got a bunch of warning about out of date ".go" compiled scheme 
files, and an exit code of 1, and nothing more.  Nothing to STDOUT or 
STDERR:

   ./pre-inst-env guix system -L 
~/.config/guix/current/share/guile/site/3.0 build 
/etc/guix/configuration.scm


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-23 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23 11:11 ./pre-inst-env with extra channels EuAndreh
2022-11-23 17:08 ` (
2022-11-23 21:54   ` EuAndreh
2022-11-23 20:09 ` zimoun
2022-11-23 21:18   ` EuAndreh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).