From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Using Guix archive (Help!) Date: Wed, 3 Jan 2018 12:08:36 +0100 Message-ID: <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]:52044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWgxR-0003IA-GH for guix-devel@gnu.org; Wed, 03 Jan 2018 06:11:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWgxO-00041S-7g for guix-devel@gnu.org; Wed, 03 Jan 2018 06:11:41 -0500 Content-Disposition: inline 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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org, "Frederick M. Muriithi" 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.