Chris Dale <[email protected]> skribis: > guix package -i hello > ;;; note: source file /usr/local/share/guile/site/2.0/guix/config.scm > ;;; newer than compiled /usr/local/share/guile/site/2.0/guix/config.go > ;;; found fresh local cache at > /home/captain/.cache/guile/ccache/2.0-LE-8-2.0/usr/local/share/guile/site/2.0/guix/config.scm.go > accepted connection from pid 21254, uid 1000 > The following package will be installed: > hello-2.8 out /nix/store/7g06kqdm6qjbzdppnryyvjl2bz82r8dh-hello-2.8
[...] > 259: 1 [switch-symlinks > "/usr/local/var/nix/profiles/per-user/captain/guix-profile-1-link" ...] > In unknown file: > ?: 0 [symlink > "/nix/store/4www5cda3gkswbirp05bs9jjgnagi1g5-user-environment" ...] > > ERROR: In procedure symlink: > ERROR: In procedure symlink: Permission denied /usr/local/var/nix/profiles/per-user/captain should be owned, readable, and writable by ‘captain’. Could you check whether this is the case? > Sorry to be "that guy", but this happened. Heh, no problem! Clearly, this shows that Guix is not production ready, and gives us a chance to identify bugs and problems that newcomers encounter. In this case, once we’ve identify the cause of the problem, we’ll have to fix the manual and/or ‘guix package’ so it provides a helpful error message instead of that backtrace. > I pulled the code that Lud pushed that fixed the substituter bug, and > it went swimmingly --- many binaries were substituted until this one > happened. This is good news. :-) Thanks, Ludo’.
