Re: Installing multiple packages at once

2013-09-22 Thread Ludovic Courtès
Mark H Weaver skribis: > Nikita Karetnikov writes: > >> Someone on IRC said that they would prefer to write ‘-i foo bar baz’ >> instead of ‘-i foo -i bar -i baz’. Should we change this or allow both >> variants? And how hard would it be? > > You can do this: > > guix package --install={foo,b

Re: Installing multiple packages at once

2013-09-22 Thread Mark H Weaver
Nikita Karetnikov writes: > Someone on IRC said that they would prefer to write ‘-i foo bar baz’ > instead of ‘-i foo -i bar -i baz’. Should we change this or allow both > variants? And how hard would it be? You can do this: guix package --install={foo,bar,baz} which the shell expands to t

Re: Installing multiple packages at once

2013-09-22 Thread Cyril Roelandt
On 09/22/2013 11:23 PM, Ludovic Courtès wrote: Nikita Karetnikov skribis: Someone on IRC said that they would prefer to write ‘-i foo bar baz’ instead of ‘-i foo -i bar -i baz’. Should we change this or allow both variants? And how hard would it be? Currently -i takes an argument, hence th

Re: Installing multiple packages at once

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov skribis: > Someone on IRC said that they would prefer to write ‘-i foo bar baz’ > instead of ‘-i foo -i bar -i baz’. Should we change this or allow both > variants? And how hard would it be? Currently -i takes an argument, hence this syntax. What would be the syntax? Rememb

Re: Generation 0

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov skribis: > I think we should change ‘--list-generations’ to not output the zeroth > generation. Even though it could be present in the profile, users > shouldn’t be concerned about it. Agreed. > Currently, ‘--delete-generations’ ignores the zeroth generation. Other > options

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

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov skribis: > Can I push this patch to ‘master’? Do you see any problems? Looks good! Minor issues discussed below. > I had noticed that ‘--roll-back’ doesn’t output anything with > ‘--dry-run’, so I implemented ‘--delete-generations’ similarly. Maybe > it would be better to p

Installing multiple packages at once

2013-09-22 Thread Nikita Karetnikov
Someone on IRC said that they would prefer to write ‘-i foo bar baz’ instead of ‘-i foo -i bar -i baz’. Should we change this or allow both variants? And how hard would it be? pgpb1hJYB3Til.pgp Description: PGP signature

Generation 0 (was: [PATCH] guix package: Add '--delete-generations'.)

2013-09-22 Thread Nikita Karetnikov
I think we should change ‘--list-generations’ to not output the zeroth generation. Even though it could be present in the profile, users shouldn’t be concerned about it. Currently, ‘--delete-generations’ ignores the zeroth generation. Other options seem even more confusing: 1. If you don’t have

Re: Order of listed packages

2013-09-22 Thread Ludovic Courtès
Andreas Enge skribis: > On Sun, Sep 22, 2013 at 09:18:50PM +0200, Cyril Roelandt wrote: >> On 09/22/2013 03:29 PM, Andreas Enge wrote: >> >Currently, >> >guix package -I >> >lists the latest installed package first, which often ends up scrolling >> >out of the window. However, this is most of

Re: Order of listed packages

2013-09-22 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> So I would suggest to revert the order of packages, listing them from >> the first to the most recently installed. > > I agree. Me too. I’ll push the obvious fix in a moment. Ludo’.

Re: Packages with libraries and binaries

2013-09-22 Thread Ludovic Courtès
Andreas Enge skribis: > When trying to use cdparanoia, I noticed the following: > > $ ldd `which cdparanoia` > > linux-vdso.so.1 => (0x7fff1e9dd000) > libcdda_interface.so.0 => not found > libcdda_paranoia.so.0 => not found > libm.so.6 => > /nix/store/53afsq4

Re: Order of listed packages

2013-09-22 Thread Nikita Karetnikov
>> The same applies probably to --list-generations. > ‘--list-generations’ already does this. Oh, I was talking about generations, so your argument is valid. I agree with this part as well, but let’s wait for other opinions. pgpo1ZfTAmQ7z.pgp Description: PGP signature

Re: Order of listed packages

2013-09-22 Thread Andreas Enge
On Sun, Sep 22, 2013 at 09:18:50PM +0200, Cyril Roelandt wrote: > On 09/22/2013 03:29 PM, Andreas Enge wrote: > >Currently, > >guix package -I > >lists the latest installed package first, which often ends up scrolling > >out of the window. However, this is most of the time where "things happen"

Re: Order of listed packages

2013-09-22 Thread Cyril Roelandt
On 09/22/2013 03:29 PM, Andreas Enge wrote: Currently, guix package -I lists the latest installed package first, which often ends up scrolling out of the window. However, this is most of the time where "things happen", new packages get installed or rolled back. Honestly, I'd like to have t

Re: Order of listed packages

2013-09-22 Thread Nikita Karetnikov
> So I would suggest to revert the order of packages, listing them from > the first to the most recently installed. I agree. > The same applies probably to --list-generations. ‘--list-generations’ already does this. pgpwfmEUyqkO5.pgp Description: PGP signature

Re: Packages with libraries and binaries

2013-09-22 Thread Nikita Karetnikov
> The two missing libraries are part of the package itself; apparently, they > do not get encoded into the rpath. Could this be handled somehow by the build > system? Should it be done in the package definition? Or should I set an > LD_LIBRARY_PATH? You can adjust RPATH with patchelf. Here’s an e

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

2013-09-22 Thread Nikita Karetnikov
Can I push this patch to ‘master’? Do you see any problems? I had noticed that ‘--roll-back’ doesn’t output anything with ‘--dry-run’, so I implemented ‘--delete-generations’ similarly. Maybe it would be better to print something. WDYT? From ede983c90bd4cdece708820e1d52a2d1894a51c8 Mon Sep 17

Order of listed packages

2013-09-22 Thread Andreas Enge
Currently, guix package -I lists the latest installed package first, which often ends up scrolling out of the window. However, this is most of the time where "things happen", new packages get installed or rolled back. So I would suggest to revert the order of packages, listing them from the fir

Re: Patches: Progressive Enhancement

2013-09-22 Thread Alex Sassmannshausen
Hello again, It's been a while, but if still desired, here the cosmetic revisions for the list-packages page. Ludovic Courtès writes: >> From ed5771c1d5a18c31634ef075d6fe1eee70b32d6b Mon Sep 17 00:00:00 2001 >> From: Alex Sassmannshausen >> Date: Mon, 26 Aug 2013 15:55:28 +0200 >> Subject: [PAT

Packages with libraries and binaries

2013-09-22 Thread Andreas Enge
When trying to use cdparanoia, I noticed the following: $ ldd `which cdparanoia` linux-vdso.so.1 => (0x7fff1e9dd000) libcdda_interface.so.0 => not found libcdda_paranoia.so.0 => not found libm.so.6 => /nix/store/53afsq4c7r10hn77h3iyyavy2bs02403-glibc-2.17/lib