Re: Introducing ‘guix pack’

2017-03-24 Thread Ludovic Courtès
Hi, Federico Beffa skribis: > Suppose that Guix pack bundles become popular and compare them to, > say, Mac style archives. Let's go through Ludovic's analysis: > > 1. Composability: With Mac bundles you extract the archive in a >directory. With Guix packs it's essentially

Re: Introducing ‘guix pack’

2017-03-22 Thread Federico Beffa
Andy Wingo writes: > On Mon 20 Mar 2017 15:14, l...@gnu.org (Ludovic Courtès) writes: > >> Federico Beffa skribis: >> >>> If you provide an archive such as >>> 'guile-2.2.0-pack-x86_64-linux-gnu.tar.lz' reachable from the main >>> project page (especially

Re: Introducing ‘guix pack’

2017-03-20 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Clément Lassieur writes: > >> Ludovic Courtès writes: [...] >>> As of right now, ‘guix pack’ can create Docker image (‘guix archive’ >>> can no longer do that): >>> >>> guix pack guile-next -S

Re: Introducing ‘guix pack’

2017-03-20 Thread Alex Sassmannshausen
Excellent article, thanks for writing and sharing! Alex Ludovic Courtès writes: > Hi again! > > I’ve written about ‘guix pack’ here: > > https://gnu.org/s/guix/news/creating-bundles-with-guix-pack.html > > Thanks to rekado & jonsger on IRC for the quick review! > > Ludo’.

Re: Introducing ‘guix pack’

2017-03-20 Thread Ricardo Wurmus
Clément Lassieur writes: > Ludovic Courtès writes: > >> Hello Guix! Hello 2.2 Guilers! >> >> l...@gnu.org (Ludovic Courtès) skribis: >> >>> I’d like to move support for Docker (currently in ‘guix archive’) to >>> this new command because I think it’s more

Re: Introducing ‘guix pack’

2017-03-20 Thread Ludovic Courtès
Hi, Federico Beffa skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Hi Federico, >> >> Federico Beffa skribis: >> >>> Say, developer A distributes such an archive A and developer B >>> distributes archive B (a different program/library) and someone C >>>

Re: Introducing ‘guix pack’

2017-03-20 Thread Clément Lassieur
Ludovic Courtès writes: > Hello Guix! Hello 2.2 Guilers! > > l...@gnu.org (Ludovic Courtès) skribis: > >> I’d like to move support for Docker (currently in ‘guix archive’) to >> this new command because I think it’s more appropriate: ‘guix archive’ >> is supposed to be rather

Re: Introducing ‘guix pack’

2017-03-20 Thread Ludovic Courtès
Hi again! I’ve written about ‘guix pack’ here: https://gnu.org/s/guix/news/creating-bundles-with-guix-pack.html Thanks to rekado & jonsger on IRC for the quick review! Ludo’.

Re: Introducing ‘guix pack’

2017-03-20 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > Hi Federico, > > Federico Beffa skribis: > >> Say, developer A distributes such an archive A and developer B >> distributes archive B (a different program/library) and someone C >> installs both. > > Interestingly composability (what

Re: Introducing ‘guix pack’

2017-03-19 Thread Ludovic Courtès
Hi Federico, Federico Beffa skribis: > Say, developer A distributes such an archive A and developer B > distributes archive B (a different program/library) and someone C > installs both. Interestingly composability (what happens when you unpack both A and B on the same system)

Re: Introducing ‘guix pack’

2017-03-19 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > Hi! > > Andy Wingo skribis: > >> On Tue 14 Mar 2017 14:42, l...@gnu.org (Ludovic Courtès) writes: >> >>> If we remove /var/guix/profiles, users will have to actually type >>> /gnu/store/asasdfadfgsadfa-profile/bin/guile. This is not

Re: Introducing ‘guix pack’

2017-03-19 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: > And now you can do: > > guix pack grep --target=i686-w64-mingw32 > > or: > > guix pack guile@2.0 --target=arm-linux-gnueabihf -f docker ...exactly what has been missing: awesome, thanks! > Granted, this is not optimal space-wise because cross-compiled binaries >

Re: Introducing ‘guix pack’

2017-03-17 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Hello Guix! Hello 2.2 Guilers! > > l...@gnu.org (Ludovic Courtès) skribis: > >> I’d like to move support for Docker (currently in ‘guix archive’) to >> this new command because I think it’s more appropriate: ‘guix archive’ >> is supposed to be rather

Re: Introducing ‘guix pack’

2017-03-17 Thread Ludovic Courtès
Pjotr Prins skribis: > On Thu, Mar 16, 2017 at 11:28:05PM +0100, Ludovic Courtès wrote: >> As of right now, ‘guix pack’ can create Docker image (‘guix archive’ >> can no longer do that): >> >> guix pack guile-next -S /opt/guile-2.2.0= -f docker > > If this works we

Re: Introducing ‘guix pack’

2017-03-16 Thread Ludovic Courtès
Hello Guix! Hello 2.2 Guilers! l...@gnu.org (Ludovic Courtès) skribis: > I’d like to move support for Docker (currently in ‘guix archive’) to > this new command because I think it’s more appropriate: ‘guix archive’ > is supposed to be rather low-level so it would not create a profile, for >

Re: Introducing ‘guix pack’

2017-03-14 Thread Andy Wingo
Hey :) On Tue 14 Mar 2017 14:42, l...@gnu.org (Ludovic Courtès) writes: > If we remove /var/guix/profiles, users will have to actually type > /gnu/store/asasdfadfgsadfa-profile/bin/guile. This is not great, but I > don’t know what else could be done. We could profile a > /bin/guile →

Re: Introducing ‘guix pack’

2017-03-14 Thread Ludovic Courtès
Hi! Andy Wingo skribis: > Yes, though I hadn't thought everything out. I guess my mail question > is about user experience -- this is going to be a gateway for people to > get Guix and Guile and we should make sure there are no rough edges. I > guess in particular I have a

Re: Introducing ‘guix pack’

2017-03-13 Thread Andy Wingo
On Fri 10 Mar 2017 22:50, l...@gnu.org (Ludovic Courtès) writes: > I had it on my to-do list and Andy said he’d like to have something like > that to publish Guile 2.2 binaries: the ‘guix pack’ command below is a > generalization of the code that builds the Guix binary tarball¹. It > creates a

Re: Introducing ‘guix pack’

2017-03-13 Thread Chris Marusich
Hi Ludo, l...@gnu.org (Ludovic Courtès) writes: > Thanks for your feedback! Thank you for taking the time to explain! -- Chris signature.asc Description: PGP signature

Re: Introducing ‘guix pack’

2017-03-12 Thread Ricardo Wurmus
Ludovic Courtès writes: >> What other use cases do you imagine? Is the intent to make it easy to >> deploy software (and the closure of its dependencies) to any place where >> you either can't or don't want to install Guix first? > > The use case for ‘guix archive -f docker’

Re: Introducing ‘guix pack’

2017-03-12 Thread Ludovic Courtès
Hi Chris, Chris Marusich skribis: > l...@gnu.org (Ludovic Courtès) writes: [...] >> lrwxrwxrwx root/root 0 1970-01-01 01:00 >> ./gnu/store/ynafk7v924xil993dqbx4mxxnm9ifsi6-profile/bin/guild -> >>

Re: Introducing ‘guix pack’

2017-03-11 Thread Chris Marusich
l...@gnu.org (Ludovic Courtès) writes: > Hello Guix! > > I had it on my to-do list and Andy said he’d like to have something like > that to publish Guile 2.2 binaries: the ‘guix pack’ command below is a > generalization of the code that builds the Guix binary tarball¹. It > creates a bundle of

Re: Introducing ‘guix pack’

2017-03-10 Thread Ricardo Wurmus
Ludovic Courtès writes: > I had it on my to-do list and Andy said he’d like to have something like > that to publish Guile 2.2 binaries: the ‘guix pack’ command below is a > generalization of the code that builds the Guix binary tarball¹. It > creates a bundle of the closure of

Introducing ‘guix pack’

2017-03-10 Thread Ludovic Courtès
Hello Guix! I had it on my to-do list and Andy said he’d like to have something like that to publish Guile 2.2 binaries: the ‘guix pack’ command below is a generalization of the code that builds the Guix binary tarball¹. It creates a bundle of the closure of the given packages, with a profile