From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Using Guix archive (Help!) Date: Sat, 6 Jan 2018 07:04:17 +0100 Message-ID: <20180106060417.GA30646@thebird.nl> References: <20180103110836.GA15026@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXhdk-00013o-1Q for guix-devel@gnu.org; Sat, 06 Jan 2018 01:07:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXhdg-0001Gu-2E for guix-devel@gnu.org; Sat, 06 Jan 2018 01:07:32 -0500 Content-Disposition: inline In-Reply-To: <20180103110836.GA15026@thebird.nl> 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" To: Pjotr Prins Cc: guix-devel@gnu.org, "Frederick M. Muriithi" I guess no one uses this format ;). I set up another guix publish server for Fred (Africa could not reach guix.genenetwork.org for some reason). I know we can use Guix pack but that don't play well with a running Guix system. Now if we could unpack it would be solved. I'll have a think about this. Pj. On Wed, Jan 03, 2018 at 12:08:36PM +0100, Pjotr Prins wrote: > Hi, > > I am trying to send a NAR archive to Fred. We are facing a few issues. > First I created the archive > > env GUIX_PACKAGE_PATH=../guix-bioinformatics/ ./pre-inst-env guix archive --export -r --no-grafts genenetwork2 > gn2.nar > > and Fred installed the key and unpacked it. Unfortunately it does not > contain package dependencies, such as mysql: > > https://gitlab.com/genenetwork/guix-bioinformatics/blob/master/gn/packages/genenetwork.scm#L194 > > somehow propagated-inputs don't go into the archive. You'd think they are critical > dependencies. > > Q1: is that to be expected? > > NAR files are signed. I think it would be very useful to be able to > distribute unsigned NAR files. > > Q2: can signing/checking be made optional? > > I can't view the contents. > > Q3: how do we view the contents of a NAR file without unpacking it? > > and > > Q4: is there a nice way to include a profile path in the store that > can be used quickly? > > The alternative is tarballing an environment/container, but the > problem there is that Fred's Guix daemon won't be aware of the new > packages. We want to avoid using Docker. > > Q5: is there an elegant way to add those unpacked store items to the > database? > > Thanks! I tried using NAR Files before and gave up. I hope it is clear > why. > > Pj. > --