Re: Integration of the Nix daemon
Andreas Enge andr...@enge.fr skribis: As well as guix-package --help One more reason to not have guix-package connect to the daemon when the options --help or --version are passed. This is finally fixed, in commit c4d6453. Thanks! Ludo’.
Re: Integration of the Nix daemon
Andreas Enge andr...@enge.fr skribis: When starting the execution, only the following lines are printed: {sa_family=AF_FILE, NULL}, [2]) = 4 fcntl(4, F_GETFD) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 getsockopt(4, SOL_SOCKET, SO_PEERCRED, \24\36\0\0\350\3\0\0\350\3\0\0, [12]) = 0 write(2, accepted connection from pid 770..., 44accepted connection from pid 7700, uid 1000 ) = 44 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, Oh, actually since the daemon forks (last line above), you need -f: # strace -o log -f guix-daemon --build-users-group=nixbld Ludo’.
Re: Integration of the Nix daemon
Hi! Andreas Enge andr...@enge.fr skribis: Not much to see. Oh right. Actually, can you instead try this: guix-build --verbosity=4 hello (Yes, this is a brand new option. :-)) On my machine ‘guix-build’ emits messages like: | | | found build user `nixbld1' | | | found build user `nixbld2' | | | found build user `nixbld3' | | | found build user `nixbld4' | | | found build user `nixbld5' | | | found build user `nixbld6' | | | found build user `nixbld7' | | | found build user `nixbld8' | | | found build user `nixbld9' | | | found build user `nixbld10' | | | trying user `nixbld1' Ludo’.
Re: Integration of the Nix daemon
One more comment: The size of guix-daemon is 9 804 696, that of nix-worker 691 834, and the entire directory nix/bin contains only 5 312 kB. A bit suspicious. Do you have an explanation? Andreas