From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Using Guix archive (Help!) Date: Tue, 09 Jan 2018 13:13:36 +0100 Message-ID: <87h8rvut5b.fsf@gnu.org> References: <20180103110836.GA15026@thebird.nl> <878tdb40kl.fsf@elephly.net> 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]:48643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYsmn-0004cx-4J for guix-devel@gnu.org; Tue, 09 Jan 2018 07:13:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYsmk-0006l4-19 for guix-devel@gnu.org; Tue, 09 Jan 2018 07:13:45 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:40116) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eYsmj-0006kK-Pi for guix-devel@gnu.org; Tue, 09 Jan 2018 07:13:41 -0500 In-Reply-To: <878tdb40kl.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 06 Jan 2018 13:46:18 +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" To: Ricardo Wurmus Cc: guix-devel@gnu.org, "Frederick M. Muriithi" Hello! Ricardo Wurmus skribis: >> somehow propagated-inputs don't go into the archive. You'd think they ar= e critical >> dependencies. >> >> Q1: is that to be expected? > > I=E2=80=99m not sure, but it seems wrong. I understand it=E2=80=99s weird, but it=E2=80=99s expected: =E2=80=98guix a= rchive=E2=80=99 is a low-level thing that works at the store level. Propagated inputs are a package-level concept, so it doesn=E2=80=99t know about it. >> 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? No, on purpose. However unsigned archives would be useful for content-addressed items (e.g., source code downloads), and it=E2=80=99s currently not supported. >> Q3: how do we view the contents of a NAR file without unpacking it? > > I don=E2=80=99t think you can. It=E2=80=99s a custom format implemented = by > nix/libutil/archive.cc. It=E2=80=99s also implemented in (guix nar). :-) So it Wouldn=E2=80=99t Be Hard to implement a content browsers and support = =E2=80=9Cguix archive -t=E2=80=9D. Ludo=E2=80=99.