# HG changeset patch # User Marcin Kuzminski # Date 2018-02-11 19:39:24 # Node ID 11f8b12a33a5d3d5c9118734d3db5f6405dc0976 # Parent 5bc3c87126dbb47f25b7a701499d8167522f7db9 docs: added info about how to remove nix from dev setup. diff --git a/docs/contributing/dev-setup.rst b/docs/contributing/dev-setup.rst --- a/docs/contributing/dev-setup.rst +++ b/docs/contributing/dev-setup.rst @@ -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 ---------------------------------------