guix-devel
[Top][All Lists]
Advanced

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

Re: guix pack file enumerator?


From: Ludovic Courtès
Subject: Re: guix pack file enumerator?
Date: Mon, 14 Dec 2020 10:48:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

> I’m unpacking to rsync now, but it’s not great to duplicate files on the
> local disk only to send them over the network.  The ideal workflow for
> me would treat the store on my local machine as the source and the
> remote machine as the target, without any copying from source to source
> in between.
>
> The local-unpack method also requires an empty directory to be
> maintained; it needs to be emptied before the next time we try to unpack
> anything.
>
> Another downside is the creation of the tarball itself.  I don’t need it
> but it’s still created only to be destroyed in the next step.  This is
> unfortunate, because Guix could use a different mechanism to “check out”
> files from the store to a new location.

Here’s another idea: allowing ‘guix copy’ to talk to a “raw” remote
store—i.e., just /gnu/store + /var/guix/db accessed over SSH.

Just like we have (guix store ssh), we could implement raw store
operations over SSH using ‘remote-eval’ and (guix store database).  Hmm
that amounts to implementing a subset of the daemon.

Ludo’.



reply via email to

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