--- Begin Message ---
Subject: |
guix deploy with (with build-locally #f) needlessly syncs build artifacts |
Date: |
Fri, 19 Nov 2021 22:58:09 -0500 |
Hello,
While configuring a machine setup for building the packages remotely, I
observed that all substitutes were first retrieved on the local host.
Since the intent is to deploy the remote machine and have it build the
package itself, this is a wasteful use resources. The remote machine
should fetch the or substitutes or package sources itself.
Thanks,
Maxim
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#51991: guix deploy with (with build-locally #f) needlessly syncs build artifacts |
Date: |
Fri, 17 Dec 2021 16:42:03 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello Ludovic,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>>> Hello,
>>>
>>> While configuring a machine setup for building the packages remotely, I
>>> observed that all substitutes were first retrieved on the local host.
>>>
>>> Since the intent is to deploy the remote machine and have it build the
>>> package itself, this is a wasteful use resources. The remote machine
>>> should fetch the or substitutes or package sources itself.
>>
>> I'm not sure the above is accurate because near the end of deploy it
>> only transferred a handful of megabytes. I suspect it needed something
>> to compute the derivations locally, perhaps grafts? For example, I have
>> openjdk installed on the remote machine, and it was downloaded locally
>> (more than 100 MiB download IIRC), but it was never transferred, if I
>> followed correctly.
>
> Yeah, I’m tempted to tag it as “notabug”. WDYT?
Fine by me, closing for now.
Thank you!
Maxim
--- End Message ---