doc: Add workaround for the first install.

Julien LepillerSat Jul 25 19:00:46+0200 2020

38bf18d

doc: Add workaround for the first install. * doc/install.md: Add workaround for the first install. * README.md: idem.

README.md

102102
103103
See the documentation to learn more about the configuration system.
104104
105+
Because of a bug in guix, the `guix home` command will not be found immediately:
106+
the search for the command is done too early, before guix adds the channels
107+
to its search path.  Add them to the guile search path, so guix will be able to
108+
find them.  Note that if you are running bash, the home manager will take
109+
care of that after you install the first generation:
110+
111+
```bash
112+
export GUILE_LOAD_PATH=~/.config/guix/current/share/guile/site/3.0:$GUILE_LOAD_PATH
113+
export GUILE_LOAD_COMPILED_PATH=~/.config/guix/current/lib/guile/3.0/site-ccache:$GUILE_LOAD_COMPILED_PATH
114+
```
115+
105116
To build your first generation of your home environment, run as your regular
106117
user:
107118

doc/install.md

8989
9090
See the documentation to learn more about the configuration system.
9191
92+
Because of a bug in guix, the `guix home` command will not be found immediately:
93+
the search for the command is done too early, before guix adds the channels
94+
to its search path.  Add them to the guile search path, so guix will be able to
95+
find them.  Note that if you are running bash, the home manager will take
96+
care of that after you install the first generation:
97+
98+
```bash
99+
export GUILE_LOAD_PATH=~/.config/guix/current/share/guile/site/3.0:$GUILE_LOAD_PATH
100+
export GUILE_LOAD_COMPILED_PATH=~/.config/guix/current/lib/guile/3.0/site-ccache:$GUILE_LOAD_COMPILED_PATH
101+
```
102+
92103
To build your first generation of your home environment, run as your regular
93104
user:
94105