(address . bug-guix@gnu.org)
Situation: GuixSD sysetm managaed by user glc using a git checkout in
/home/glc/sre/guix.
Problem: When I follow the manual to set up a vanila user (glc5) with a
separate git checkout in /home/glc5/src/guix, guix-edit does not find
the checkout source.
Note: I followed comments from the #guix irc channel to set links in glc
and root that point to the glc checkout:
glc@g1 ~/src/guix [env]$ stat ~/.config/guix/latest
File: ‘/home/glc/.config/guix/latest’ -> ‘../../src/guix’
glc@g1 ~/src/guix [env]$ stat /root/.config/guix/latest
File: ‘/root/.config/guix/latest’ -> ‘/home/glc/src/guix’
CREATE USER glc5
================
glc@g1 ~/src/guix$ guix environment guix
glc@g1 ~/src/guix [env]$ ./bootstrap
glc@g1 ~/src/guix [env]$ ./configure --localstatedir=/var && make
glc@g1 ~/src/guix [env]$ git branch -v
* master ff22f01 gnu: dropbear: Update to 2016.72 [fixes CVE-2016-3116].
glc@g1 ~/src/guix [env]$ which guix
/run/current-system/profile/bin/guix
glc@g1 ~/src/guix [env]$ stat /run/current-system/profile/bin/guix
File: ‘/run/current-system/profile/bin/guix’ ->
‘/gnu/store/3lg5c1nidbj0kjdz5b63hn3vp29kzf0s-guix-0.9.0.c3f29bc/bin/guix’
glc@g1 ~/src/guix [env]$ sudo guix system reconfigure ../configs/c05system.scm
USER glc5 test
==============
glc5@g1 ~/src$ which guix
/run/current-system/profile/bin/guix
glc5@g1 ~/src$ stat /run/current-system/profile/bin/guix File:
‘/run/current-system/profile/bin/guix’ ->
‘/gnu/store/3lg5c1nidbj0kjdz5b63hn3vp29kzf0s-guix-0.9.0.c3f29bc/bin/guix’
glc5@g1 ~/src$ stat ~/.config/guix/latest
stat: cannot stat ‘/home/glc5/.config/guix/latest’: No such file or directory
## set up glc5's environment
glc5@g1 ~/src$ guix package -m glc5.scm
## customize emacs following "8.3 The Perfect Setup"
glc5@g1 ~/src$ cat ~/.emacs.d/init.el | head -n4
;; from "8.3 The Perfect Setup"
;; Assuming the Guix checkout is in ~/src/guix.
(with-eval-after-load 'geiser-guile
(add-to-list 'geiser-guile-load-path "~/src/guix"))
## clone guix
glc5@g1 ~/src$ git clone t://git.savannah.gnu.org/guix.git
### run emacs
emacs
M-x guix-edit screen
Problem: This finds read-only screen.src in store rather than in ~/src/guix/...