tvl-depot/doc/manual/installation
Manav Rathi eec5409a69 installation: allow profile modification to be skipped (#1072)
The current behaviour modifies the first writeable file from amongst
.bash_profile, .bash_login and .profile.  So .bash_profile (if it is
writable) would be modified even if a user has already sourced nix.sh
in, say, .profile.

This commit introduces a new environment variable,
NIX_INSTALLER_NO_MODIFY_PROFILE.  If this is set during installation,
then the modifications are unconditionally skipped.

This is useful for users who have a manually curated set of dotfiles
that they are porting to a new machine. In such scenarios, nix.sh is
already sourced at a place where the user prefers.  Without this
change, the nix installer would insist on modifying .bash_profile if
it exists.

This commit also add documentations for both the current behaviour and
the new override.
2016-11-03 18:02:29 +01:00
..
building-source.xml Rely on XML catalogs to find the DocBook schemas and stylesheets 2014-11-25 15:54:26 +01:00
env-variables.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
installation.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
installing-binary.xml installation: allow profile modification to be skipped (#1072) 2016-11-03 18:02:29 +01:00
installing-source.xml Manual build fixes 2014-09-16 14:14:09 +02:00
multi-user.xml Document how to set up build users on Mac OS X 2015-01-06 11:17:11 +01:00
nix-security.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
obtaining-source.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
prerequisites-source.xml documentation: mention required openssl dependency (#974) 2016-07-20 15:02:29 +02:00
single-user.xml Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
supported-platforms.xml Update installation section 2014-11-24 16:50:46 +01:00