James Richardson <[email protected]> skribis: > Ludovic Courtès writes:
[...] >>> Hmm, I move the key pair to /tmp and set the perms to 644 and offloading >>> works for my regular user... Not quite sure I understand why. >> >> The ‘guix offload’ command is invoked by guix-daemon as root. So when >> it is invoked, (getenv "HOME") returns "/root" or similar. Could that >> be the problem? >> >> HTH, >> Ludo’. > > Well, I think there is an issue with the offload. I don't (yet) know > guile well enough to understand the code to help :( OK. > Here is what I am finding: $ guix build blah seems to offload builds > properly. $ guix package -i blah, guix package -u blah, and $ guix > system reconfigure config.scm does not offload builds. Without more info, it’s hard to tell, but there are derivations that are marked as “non-offloadable”, essentially because it’d take more time to transfer them and build them remotely than to build them locally. Among those derivations are profiles (built by ‘guix package’) and many of the small items built by ‘guix system’. It could explain what you’re seeing. Something like ‘guix build libreoffice --no-substitutes’ should be offloaded, provided --max-jobs is appropriate as discussed before. HTH, Ludo’.
