Re: ./pre-inst-env with extra channels

2022-11-23 Thread EuAndreh

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




Re: ./pre-inst-env with extra channels

2022-11-23 Thread EuAndreh
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 :)



Re: ./pre-inst-env with extra channels

2022-11-23 Thread zimoun
Hi,

On Wed, 23 Nov 2022 at 11:11, EuAndreh  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



Re: ./pre-inst-env with extra channels

2022-11-23 Thread (
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.

-- (



./pre-inst-env with extra channels

2022-11-23 Thread EuAndreh
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)