[PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Nikita Karetnikov
> Ah so I was referring to recutils record sets (I thought you were > talking about SRFI-9 records or something.) So what’s the question? > :-) I was trying to explain why we shouldn’t always output generations in the recutils format. It works for ‘--search’ because there’s only one record. >>

Re: Treating patches as part of ‘origin’

2013-09-18 Thread Ludovic Courtès
Andreas Enge skribis: > On Sun, Sep 15, 2013 at 11:05:25PM +0200, Ludovic Courtès wrote: >> comply (like TeX Live’s ‘getnonfreefonts’) > > Just as a comment, this is, as far as I can tell, not contained in the > regular texlive distribution. I cannot locate it on my system. It used to be the cas

Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Ludovic Courtès
Nikita Karetnikov skribis: > 3. ‘guix package -l -p test’ returns ‘guix package: error: test: >extraneous argument’. (However, the same happens with ‘-I’.) That’s because -p is interpreted as the optional argument to -l, and so ‘test’ is considered an extra argument. Ludo’.

Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Not sure what you mean by “two record sets”. > > “You can have two record sets: one for generations, one for > packages.” [1] Ah so I was referring to recutils record sets (I thought you were talking about SRFI-9 records or something.) So what’s the question? :-)

objects supplant ‘.drv’ file names in the API

2013-09-18 Thread Ludovic Courtès
Commit 59688fc introduces notable changes: ‘derivation’, ‘build-expression->derivation’, ‘package-derivation’ and similar procedures now return a single value, which is a object (previously they would return two values: the .drv file name, and the object.) The object embeds its .drv file name n

Re: PRELIMINARY: [PATCH] guix package: Add '--list-generations'.

2013-09-18 Thread Nikita Karetnikov
> I’ve just found a bug. On my machine, ‘guix package -p test -l 2d’ > and ‘guix package -p test -l’ should return the same set of > generations, but the fourth generation is shown twice in the former > case. Generations 4 and 5 have the same creation date for some reason: scheme@(guix ui)> date

Re: Treating patches as part of ‘origin’

2013-09-18 Thread Andreas Enge
On Sun, Sep 15, 2013 at 11:05:25PM +0200, Ludovic Courtès wrote: > comply (like TeX Live’s ‘getnonfreefonts’) Just as a comment, this is, as far as I can tell, not contained in the regular texlive distribution. I cannot locate it on my system. Andreas