nix-super/doc/manual
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
..
advanced-topics s/powerpc-darwin/x86_64-darwin/ 2016-08-10 18:42:55 +02:00
command-ref Support optional sandbox paths 2016-10-31 17:09:52 +01:00
expressions Document the { __toString } interface 2016-09-21 14:52:26 +01:00
figures Fix corrupt PNG 2013-08-21 12:53:51 +02:00
glossary Restructuring the Nix manual 2014-08-27 18:41:09 +02:00
images/callouts Add docbook icons to the distribution 2014-04-09 14:52:43 +02:00
installation installation: allow profile modification to be skipped (#1072) 2016-11-03 18:02:29 +01:00
introduction Remove nix-install-package. 2016-08-10 08:20:51 -04:00
packages Remove nix-install-package. 2016-08-10 08:20:51 -04:00
release-notes Merge pull request #762 from ctheune/ctheune-floats 2016-02-12 12:49:59 +01:00
troubleshooting ReiserFS -> ext4 2014-12-13 23:23:19 +01:00
hacking.xml Manual: Typo 2014-07-16 11:21:44 +02:00
local.mk Add a new option to disable documentation generation at configure time 2016-09-20 14:34:43 +00:00
manual.xml edition -> subtitle 2015-01-02 12:53:32 +01:00
nix-lang-ref.xml * Various updates. 2009-11-05 09:07:43 +00:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
schemas.xml * Document setuid Nix installs. 2004-10-31 17:08:48 +00:00
style.css Style 2014-12-13 23:21:14 +01:00