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)

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

2013-09-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org 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

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

2013-09-18 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org 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.

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

2013-09-17 Thread Nikita Karetnikov
I think it’s reasonable to have a first milestone without recutils output. OK. Not sure what you mean by “two record sets”. “You can have two record sets: one for generations, one for packages.” [1] I see two use cases: one where you just want human-friendly output, for when one is