From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix archive export/import and software deployment Date: Mon, 07 Mar 2016 17:38:03 +0100 Message-ID: <87io0yqm50.fsf@gnu.org> References: <20160306144132.GA1944@thebird.nl> <871t7ndxo8.fsf@gnu.org> <87ziuarcrr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acyAg-0004Lh-KE for guix-devel@gnu.org; Mon, 07 Mar 2016 11:38:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acyAa-0004ZT-Uc for guix-devel@gnu.org; Mon, 07 Mar 2016 11:38:14 -0500 In-Reply-To: <87ziuarcrr.fsf@gmail.com> (Chris Marusich's message of "Sun, 06 Mar 2016 23:02:48 -0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Chris Marusich Cc: guix-devel@gnu.org Chris Marusich skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Otherwise, is it OK to pass the whole profile around, as with: >> >> guix archive --export $(readlink -f ~/.guix-profile) > profile.nar >> >> ? >> >> You=E2=80=99d still have to manually link to this profile on the target = machine, >> though: >> >> cd /var/guix/profiles/per-user/$USER >> ln -s guix-profile-xyz-link /gnu/store/=E2=80=A6-the-above-profile >> >> I think =E2=80=98guix package=E2=80=99 should have options to simplify t= his. > > Does that basically achieve a similar effect as the following in Nix? > > https://nixos.org/nix/manual/#sec-nix-copy-closure =E2=80=98nix-copy-closure=E2=80=99 can be thought of as an rsync for the st= ore, built on top of archives (archives in =E2=80=9Cnar=E2=80=9D format, as produced by = =E2=80=98guix archive=E2=80=99 and other tools.) We have that functionality in =E2=80=98guix offload=E2=80=99=C2=B9, which b= asically works by running =E2=80=98guix archive --missing=E2=80=99 on the remote machine, but= I think it would be nice to have a standalone =E2=80=98guix copy=E2=80=99 command base= d on Guile-SSH. Ludo=E2=80=99. =C2=B9 http://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/offload.= scm#n445