From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: guix archive export/import and software deployment Date: Sun, 06 Mar 2016 23:02:48 -0800 Message-ID: <87ziuarcrr.fsf@gmail.com> References: <20160306144132.GA1944@thebird.nl> <871t7ndxo8.fsf@gnu.org> 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]:55833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acpBs-0000t5-9o for guix-devel@gnu.org; Mon, 07 Mar 2016 02:02:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acpBr-0002vu-Ci for guix-devel@gnu.org; Mon, 07 Mar 2016 02:02:52 -0500 In-Reply-To: <871t7ndxo8.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 06 Mar 2016 23:55:03 +0100") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org 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 m= achine, > 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 th= is. Does that basically achieve a similar effect as the following in Nix? https://nixos.org/nix/manual/#sec-nix-copy-closure I haven't used Nix much yet, but it seems similar in spirit. I wonder if there's anything we could adapt from there. Chris