Re: Using Guix archive (Help!)

2018-01-09 Thread Ludovic Courtès
Hello! Ricardo Wurmus skribis: >> somehow propagated-inputs don't go into the archive. You'd think they are >> critical >> dependencies. >> >> Q1: is that to be expected? > > I’m not sure, but it seems wrong. I understand it’s weird, but it’s expected: ‘guix archive’ is a low-level thing tha

Re: Using Guix archive (Help!)

2018-01-08 Thread Pjotr Prins
On Mon, Jan 08, 2018 at 04:15:52PM +0100, Tobias Geerinckx-Rice wrote: > I haven't tried more than the above commands, nor do I use Nix anymore, > nor do I have any idea how good or reusable the code is, but it's a start. Absolutely! I'll work on this. Thanks, Pj.

Re: Using Guix archive (Help!)

2018-01-08 Thread Tobias Geerinckx-Rice
Pjotr, Pjotr Prins wrote on 07/01/18 at 11:32: > I have limited internet these weeks, but when I have more space I can > look at Nix tooling again. See if there is something to view the > contents of a nar file. Apparently[0] Nix 1.12 has a new ‘nix’ UI or wrapper with direct support for listing

Re: Using Guix archive (Help!)

2018-01-07 Thread Pjotr Prins
> On Sat, Jan 06, 2018 at 01:46:18PM +0100, Ricardo Wurmus wrote: > > > Q3: how do we view the contents of a NAR file without unpacking it? > > > > I don’t think you can. It’s a custom format implemented by > > nix/libutil/archive.cc. OK, the format is pretty simple. On why Nix did not use tar

Re: Using Guix archive (Help!)

2018-01-07 Thread Pjotr Prins
On Sat, Jan 06, 2018 at 01:46:18PM +0100, Ricardo Wurmus wrote: > I’m not sure, but it seems wrong. What I used to do is to create a > profile and export that recursively: > > guix archive --export --recursive \ > $(readlink -f /project/.guix-profile) | \ > gzip --stdout - > my-profile.

Re: Using Guix archive (Help!)

2018-01-06 Thread Ricardo Wurmus
Hi Pjotr, > somehow propagated-inputs don't go into the archive. You'd think they are > critical > dependencies. > > Q1: is that to be expected? I’m not sure, but it seems wrong. What I used to do is to create a profile and export that recursively: guix archive --export --recursive \

Re: Using Guix archive (Help!)

2018-01-05 Thread Pjotr Prins
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 thi

Using Guix archive (Help!)

2018-01-03 Thread Pjotr Prins
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 no