Re: Copying whole /gnu/store from USB does not work (SOLVED)

2015-04-12 Thread Pjotr Prins
> > The reason is that the store is really two things: /gnu/store, and > > /var/guix/db/db.sqlite. The latter contains meta-data about the former, > > notably the list of valid store items. > > Aha. That makes sense. If I also copy the db.sqlite it might just > work then. It works rather well an

Re: Copying whole /gnu/store from USB does not work (SOLVED)

2015-04-12 Thread Ludovic Courtès
Pjotr Prins skribis: > At build time 'guix package -i guix' complained it did not have enough > builders. The guix-daemon did not honour the -M 8 switch, so I had to > add 30 build users on a 32 core machine. Now it is happy. Could it be that you’re using 0.8 instead of 0.8.1? The latter fixed

Re: Ghc and profile creation bug

2015-04-12 Thread Ludovic Courtès
While debugging it with Taylan on IRC, it occurred to us that guix/build-system/haskell.scm wasn’t getting installed, which is fixed by ce6fc7d. Can you confirm that this solves the problem? Anyway, I recommend against using repeated “make install”, one reason being that there can be leftovers if

ptrace_scope now set to 0 by default

2015-04-12 Thread Ludovic Courtès
While debugging an elfutils build failure, I discovered a Linux restriction that I had been papering over using sudo for some time. Starting from Linux 3.4 or so, the default policy is to disallow users to attach (with PTRACE_ATTACH) to their own processes. Only CAP_SYS_PTRACE processes (i.e., ro

Re: Ghc and profile creation bug

2015-04-12 Thread Andreas Enge
On Sun, Apr 12, 2015 at 03:38:58PM +0200, Ludovic Courtès wrote: > While debugging it with Taylan on IRC, it occurred to us that > guix/build-system/haskell.scm wasn’t getting installed, which is fixed > by ce6fc7d. Can you confirm that this solves the problem? It does, thanks a lot! > Anyway, I

Self-contained Guix tarball

2015-04-12 Thread Ludovic Courtès
Pjotr Prins skribis: > Well yes, you need to install all prerequisites and that is not always > trivial. Try bootstrapping on an old Centos install, for example. > Can't even get Docker going there. > > It would be nice to have an installable binary tar ball for Guix. Just > unpack in root and go

guix pull

2015-04-12 Thread Ludovic Courtès
Andreas Enge skribis: > On Sun, Apr 12, 2015 at 03:38:58PM +0200, Ludovic Courtès wrote: >> Anyway, I recommend against using repeated “make install”, one reason >> being that there can be leftovers if you don’t run “make uninstall” >> beforehand. > > It seems to be the good way of working in my

Re: [PATCH] Add upower

2015-04-12 Thread Ludovic Courtès
David Thompson skribis: > Andy Wingo writes: > >> Two patches attached. >> >> Unfortunately to use this you need to expand out %base-services to add >> upower to the udev-service form. Also you need the upower-service, >> obviously, and upower needs to be added to the dbus-service form as >> we

Re: [PATCH] Add upower

2015-04-12 Thread Ludovic Courtès
Andy Wingo skribis: > Two patches attached. > > Unfortunately to use this you need to expand out %base-services to add > upower to the udev-service form. Also you need the upower-service, > obviously, and upower needs to be added to the dbus-service form as > well. I suggest that we come up wit

Re: Self-contained Guix tarball

2015-04-12 Thread Pjotr Prins
The tar-ball works a treat!! Simply download and tar -C / --lzip -xvf guix-tarball-0.8.1.1140.tar.lz export ~/.guix-profile/bin:$PATH Add the build users, update the /gnu/store permissions and start the daemon and that is it (which could be covered by a simple shell script). This should w