doc: Add workaround for the first install. * doc/install.md: Add workaround for the first install. * README.md: idem.
README.md
| 102 | 102 | ||
| 103 | 103 | See the documentation to learn more about the configuration system. | |
| 104 | 104 | ||
| 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 | + | ||
| 105 | 116 | To build your first generation of your home environment, run as your regular | |
| 106 | 117 | user: | |
| 107 | 118 |
doc/install.md
| 89 | 89 | ||
| 90 | 90 | See the documentation to learn more about the configuration system. | |
| 91 | 91 | ||
| 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 | + | ||
| 92 | 103 | To build your first generation of your home environment, run as your regular | |
| 93 | 104 | user: | |
| 94 | 105 |