diff --git a/doc/faq.adoc b/doc/faq.adoc index 904a56227..2c9c1f168 100644 --- a/doc/faq.adoc +++ b/doc/faq.adoc @@ -40,6 +40,8 @@ error: build of ‘/nix/store/b37x3s7pzxbasfqhaca5dqbf3pjjw0ip-user-environment. The solution is typically to uninstall the package from the environment using `nix-env --uninstall` and reattempt the Home Manager generation switch. +You could also opt to unistall _all_ of the packages from your profile with `nix-env --uninstall '*'`. + === Why are the session variables not set? Home Manager is only able to set session variables automatically if it manages your Bash or Z shell configuration. If you don't want to let Home Manager manage your shell then you will have to manually source the `~/.nix-profile/etc/profile.d/hm-session-vars.sh` file in an appropriate way. In Bash and Z shell this can be done by adding