docs: added info about how to remove nix from dev setup.

This commit is contained in:
Marcin Kuzminski 2018-02-11 20:39:24 +01:00
parent f878774dde
commit e6766e5944

View file

@ -34,6 +34,13 @@ following commands:
Update your channels frequently by running ``nix-channel --update``.
.. note::
To uninstall nix run the following:
remove the . "$HOME/.nix-profile/etc/profile.d/nix.sh" line in your ~/.profile or ~/.bash_profile
rm -rf $HOME/{.nix-channels,.nix-defexpr,.nix-profile,.config/nixpkgs}
sudo rm -rf /nix
Switch nix to the latest STABLE channel
---------------------------------------