Re: Hacks to install Guix packages without root

2017-10-26 Thread Konrad Hinsen
On 26/10/2017 23:46, Ricardo Wurmus wrote: How about an extension of “guix pack” that will rewrite the /gnu/store references to a user-provided directory before bundling things up in a tarball? I’d *really* like to be able to just use the tarball bundle “guix pack” produces by default, but curr

Re: Tiny Guix (and containers)

2017-10-26 Thread Ricardo Wurmus
Pjotr Prins writes: >> > Now it takes forever to set up the image >> >> Have you tried disabling compression? This could be a lot faster. I >> found that tar with gzip compression is terribly slow to copy things >> from the store into a compressed tar archive. Disabling compression >> speeds

Re: Guix on macOS

2017-10-26 Thread Chris Marusich
Hi Guix, I've looked further into the possibility of running Guix on macOS. I'm convinced now that running Guix natively on macOS (i.e., compiling it for x86_64-apple-darwin) isn't a feasible goal at this time. GNU libc doesn't target Darwin, so it can't be used as-is to compile programs to run

Re: Guix on macOS

2017-10-26 Thread Chris Marusich
Adonay Felipe Nogueira writes: > Although I don't know if macOS uses "\" or "/". It uses "/". -- Chris signature.asc Description: PGP signature

Re: Hacks to install Guix packages without root

2017-10-26 Thread Ludovic Courtès
Hi! Ricardo Wurmus skribis: > How about an extension of “guix pack” that will rewrite the /gnu/store > references to a user-provided directory before bundling things up in a > tarball? I’ve thought about this (we have rewriting machinery in (guix build grafts) that we could adjust and use), but

Re: Removing a store reference from a file

2017-10-26 Thread Ludovic Courtès
Hi! Leo Famulari skribis: > The programs don't need or use this reference, so it would be nice to > get rid of it and save users some bandwidth when installing Go programs. [...] > I see that in Guix we have ((guix build utils) remove-store-references), > which removes *all* store references f

Re: Changing HTTP proxy settings in GuixSD

2017-10-26 Thread Ludovic Courtès
Hello! Konrad Hinsen skribis: > I am running GuixSD in a virtual machine on a laptop that I use in > different network environments. One of them requires the use of a HTTP > proxy, direct accesses being blocked. As a consequence, the Guix build > daemon fails when downloading anything. > > After

Re: Tiny Guix (and containers)

2017-10-26 Thread Ludovic Courtès
Ricardo Wurmus skribis: >> 34M nnykzgwfy8mwh2gmxm715sjxykg8qjwn-binutils-2.28 > > “share/locale” is 9.4M. This is a cross-cutting concern. We don’t have > a way to globally filter locales to only requested locales. Even if we > split them each into a separate output — how would you speci

Re: speed of qemu vms

2017-10-26 Thread Ludovic Courtès
Hello! Christopher Baines skribis: > On Tue, 24 Oct 2017 21:30:06 +0200 > Hartmut Goebel wrote: > >> Hello, >> >> for testing I used to build VM using "guix system vm …" and the machines >> are, well, reacting slowly: >> >> Plasma start up: 80 sec. >> >> Menu: 36 sec [...] > I'm guessing t

Hacks to install Guix packages without root

2017-10-26 Thread Ricardo Wurmus
Hi, this blog post contains many great examples of how to deploy Guix applications without root access: http://guix-hpc.bordeaux.inria.fr/blog/2017/10/using-guix-without-being-root/ I think that all of these methods should be wrapped up by Guix itself, so that none of this has to be done ma

ledger: 5 failing tests

2017-10-26 Thread Thomas Danckaert
Hi, while checking a change to the boost package (for core-updates), I noticed that the package “ledger” fails 5 tests (both before and after the change to boost). In case anyone is familiar with this package and would like to have a look: http://hydra.gnu.org/build/2331320 (It hasn't bee

Removing a store reference from a file

2017-10-26 Thread Leo Famulari
I noticed that Go executables built with the go-build-system keep an unnecessary reference to Go itself: $ guix gc --references $(realpath $(which syncthing)) /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25 /gnu/store/bqlmgk6ngyi4pivnqpxma2wr5pj5mhkk-gcc-5.4.0-lib /gnu/store/bzj472nmnnj5hcf

Changing HTTP proxy settings in GuixSD

2017-10-26 Thread Konrad Hinsen
Hi everyone, I wonder if anyone else has had the problem I describe below and knows a solution. I am running GuixSD in a virtual machine on a laptop that I use in different network environments. One of them requires the use of a HTTP proxy, direct accesses being blocked. As a consequence, th

Re: Tiny Guix (and containers)

2017-10-26 Thread Pjotr Prins
Hi Ricardo, Thanks for responding. I think this discussion belongs here. On Thu, Oct 26, 2017 at 09:02:56AM +0200, Ricardo Wurmus wrote: > > Pjotr Prins writes: > > > 22M 3x53yv4v144c9xp02rs64z7j597kkqax-gcc-5.4.0-lib > > According to “du”, this is 32M on my disk. The “lib” subdir cont

Re: Tiny Guix (and containers)

2017-10-26 Thread Ricardo Wurmus
Pjotr Prins writes: > 22M 3x53yv4v144c9xp02rs64z7j597kkqax-gcc-5.4.0-lib According to “du”, this is 32M on my disk. The “lib” subdir contains both shared libraries as well as ar archives for static linking; together they weigh in at 12MB. We may want to move them to a separate output.