Re: Not sure how to add an offload server

2024-11-07 Thread Simen Endsjø
I also see the following commented out lines in the offload script: ;; Avoid ABI incompatibility with the record. ;; (set! %fresh-auto-compile #t) And this from load* in ui.scm: ;; XXX: Force a recompilation to avoid ABI issues. (set! %fresh-auto-compile #t) So my ABI mis

Re: Not sure how to add an offload server

2024-11-07 Thread Simen Endsjø
Ok, so now it suddenly works. I cannot see any recent commits in guix which should indicate a change related to this. What kind of bad state could I have had on my system which has been fixed by experimenting with the local guix and pre-inst-env? And is it permanently fixed now? I find this both

Re: Not sure how to add an offload server

2024-11-07 Thread Simen Endsjø
Not sure what you mean. Tried adding the channel with -L, but I get an error about a record ABI mismatch. How is this possible? Is somehow two different guix channels used...? $ ./pre-inst-env guix system \ -L ~/the-locally-cloned-required-channel \ reconfigure the-system.scm guix system: e

Re: Not sure how to add an offload server

2024-11-07 Thread Felix Lechner via
Hi Simen, On Thu, Nov 07 2024, Simen Endsjø wrote: > I'm unable to rebuild the system using this method as it looks like my > channels is not loaded Sorry about your troubles. Guix will accept -L to include local folders, which can hold a cloned Git repository. It's not convenient, but will wo

Re: Not sure how to add an offload server

2024-11-07 Thread Simen Endsjø
My config doesn't show any trace of /usr/local: $ grep --context=3 \ %sysconfdir \ "$(dirname $(realpath /run/current-system/profile/bin/guix-daemon))/../share/guile/site/3.0/guix/config.scm" %storedir %localstatedir

Re: Not sure how to add an offload server

2024-11-07 Thread Hilton Chain
Hi Simen, On Thu, 07 Nov 2024 16:03:46 +0800, Simen Endsjø wrote: > > Strange! I found out the error was passed by the offload server, so it was > complaining that it didn't trust my laptop! I added my laptop to authorized > keys on the server, and then it works! `guix archive --authorize` complai

Re: Not sure how to add an offload server

2024-11-07 Thread Simen Endsjø
Strange! I found out the error was passed by the offload server, so it was complaining that it didn't trust my laptop! I added my laptop to authorized keys on the server, and then it works! `guix archive --authorize` complains that it should be set in the system configuration for Guix SD though, so

Re: Not sure how to add an offload server

2024-11-06 Thread Tomas Volf
Simen Endsjø writes: > I don't understand how /etc/guix and /usr/local/etc/guix fits together. > /usr/local/etc/guix/acl does not contain the public key, but it exists > and symlinks to a store item. They should not fit together, /usr/local does not exist at all on my GuixSD system. > Could som

Re: Not sure how to add an offload server

2024-11-06 Thread Simen Endsjø
I don't understand how /etc/guix and /usr/local/etc/guix fits together. /usr/local/etc/guix/acl does not contain the public key, but it exists and symlinks to a store item. As guix offload looks at /usr/local/etc/guix/machines.scm, I manually added the machines.scm there, and `guix offload test

Re: Not sure how to add an offload server

2024-11-03 Thread Simen Endsjø
Both computers use Guix System. Nothing in my configuration tweaks anything related to this. On Sun, Nov 3, 2024, at 15:06, Tomas Volf wrote: > Simen Endsjø writes: > > > Hi, I have some problems creating my own offload server. > > > > Adding a build-machine section in guix-configuration fills

Re: Not sure how to add an offload server

2024-11-03 Thread Tomas Volf
Simen Endsjø writes: > Hi, I have some problems creating my own offload server. > > Adding a build-machine section in guix-configuration fills > /etc/guix/machines.scm. > > But when I do `guix offload test` or status, it checks > /usr/local/etc/guix/machines.scm and not /etc/guix/machinecs.scm.

Not sure how to add an offload server

2024-11-02 Thread Simen Endsjø
Hi, I have some problems creating my own offload server. Adding a build-machine section in guix-configuration fills /etc/guix/machines.scm. But when I do `guix offload test` or status, it checks /usr/local/etc/guix/machines.scm and not /etc/guix/machinecs.scm. Adding the build machine in that