[Top][All Lists]

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

Re: offload daemon

From: Ludovic Courtès
Subject: Re: offload daemon
Date: Sun, 28 May 2017 17:44:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

James Richardson <address@hidden> 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 :(


> 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

Something like ‘guix build libreoffice --no-substitutes’ should be
offloaded, provided --max-jobs is appropriate as discussed before.


reply via email to

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