aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2018-02-13Merge pull request #1775 from LnL7/darwin-build-usersEelco Dolstra
installer: create 'enough' build users
2018-01-29solves #1582Giorgio Gallo
2018-01-18Merge pull request #1793 from peterstuart/fix-extra-spaceEelco Dolstra
Remove extra space in chat_about_sudo()
2018-01-15Fix manpath detectionIavael
Checking for MANPATH without quotes always returns true, so that it breaks bash-completion for man pages on modern systems without MANPATH environment variable.
2018-01-12Remove extra space.Peter Stuart
2018-01-03installer: create 'enough' build usersDaiderd Jordan
2018-01-03installer: don't touch /etc/profileDaiderd Jordan
The default profile already loads /etc/bashrc.
2017-12-29Do not export ASPELL_CONFFrederik Rietdijk
This does not belong in Nix. Setting this env var is already done by the aspell derivation found in Nixpkgs.
2017-12-20Fix escaping, fixes buildFrederik Rietdijk
2017-12-08replace lolcat with nix-infoGraham Christensen
2017-12-08darwin installer: fix on High SierraGraham Christensen
2017-11-20install-darwin-multi-user.sh: Remove superfluous nix.conf settingsEelco Dolstra
2017-10-16Pull nix-profile-daemon from 1.11Shea Levy
2017-10-12Merge pull request #1591 from shlevy/darwin-installer-no-sudo-iEelco Dolstra
darwin installer: Fix on systems where sudo -i is disabled.
2017-10-05darwin installer: Fix on systems where sudo -i is disabled.Shea Levy
2017-10-02install-darwin-multi-user: relax assumption checkAnthony Cowley
The installer will error out if a user's shell configuration includes any mention of ~nix-profile~, even if this is in a comment. This change is designed to do the bare minimum to ignore lines beginning with a `#`.
2017-08-31Rename a few configuration optionsEelco Dolstra
In particular, drop the "build-" and "gc-" prefixes which are pointless. So now you can say nix build --no-sandbox instead of nix build --no-build-use-sandbox
2017-07-30Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
2017-07-14Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATIONGraham Christensen
2017-07-14If there is no TTY, also skip verbose sudo messagesGraham Christensen
2017-07-14Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between buildsGraham Christensen
Also output in the status report that the user is very silly
2017-07-14Assume yes if we have no TTYGraham Christensen
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case.
2017-07-14Address feedback around printf & execGraham Christensen
2017-07-14Don't install a second nix after the initial installation, and the rsync ↵Graham Christensen
change fixes a bug hidden by the nix replacement where the store files were being owned by the installing user due to rsync's -a implying -og.
2017-07-14Clean up issues around uninstall directions, and only showGraham Christensen
relevant directions
2017-07-14Prompt for sudo before validating assumptions, and check ourselves for ↵Graham Christensen
root-owned files instead of making a scary warning.
2017-07-14multi-user install: move the profile in to the nix etc/profiles.d outputGraham Christensen
2017-07-14Switch to a fancy multi-user installer on DarwinGraham Christensen
2017-05-07nix-profile.sh: remove sbin from PATHJörg Thalheim
sbin is a symlink to bin. profiles only contains packages, which have this symlink. It is a subset of bin. related to https://github.com/NixOS/nixpkgs/pull/25550
2017-02-07Merge branch 'nix-copy-closure-c++' of https://github.com/shlevy/nixEelco Dolstra
2017-02-07Remove build-remote.pl.inEelco Dolstra
2017-01-25bail out if macOS 10.9 or lower is used during installerDomen Kožar
2017-01-20nix-copy-closure: Implement in C++.Shea Levy
Tests fail currently because the database is not given proper hashes in the VM
2016-12-19shellcheck scripts/install-nix-from-closure.shJames Broadhead
2016-11-26Revert "Get rid of unicode quotes (#1140)"Eelco Dolstra
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There really is no need for such a massive change...
2016-11-25Get rid of unicode quotes (#1140)Guillaume Maudoux
2016-11-03installation: allow profile modification to be skipped (#1072)Manav Rathi
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-10-13SSL_CERT_FILE -> NIX_SSL_CERT_FILEEelco Dolstra
This prevents collisions with the "native" OpenSSL, in particular on OS X. Fixes #921.
2016-08-31Merge branch 'nix-build-c++'Shea Levy
2016-08-31Merge branch 'nix-channel-c++'Shea Levy
2016-08-13remove old traces of resolve-system-dependenciesJude Taylor
2016-08-11nix-channel: implement in c++Shea Levy
2016-08-10Nuke nix-push.Shea Levy
Rarely used, nix copy replaces it.
2016-08-10Remove download-from-binary-cache.pl.in.Shea Levy
We have BinaryCacheStore now
2016-08-10Remove scripts/show-duplication.plShea Levy
Was added in 2006 to "measure the cost of the Nix approach". Given that it uses /usr/bin/perl, I think this is safe to remove.
2016-08-10Remove nix-install-package.Shea Levy
Refs #831
2016-08-09nix-build: Port to c++Shea Levy
This was a dumb line-for-line rewrite, because nix build/nix run/etc. will replace it.
2016-07-29Set $MANPATH (#1005)Alexey Shmalko
Currently, man has issues finding man pages for Nix-installed application (also, `nix-env --help` doesn't work). The issue is caused by custom `$MANPATH` set by my system. That makes man use it instead of searching in default location. Either of next lines workaround the issue: ```sh unset MANPATH export MANPATH=$HOME/.nix-profile/share/man:$MANPATH ``` This patch adds the later line to the `nix-profile.sh` if user has `MANPATH` set. (Not clearing `MANPATH` as that would be disrespect of user's preferences.) As a side-effect, host's man might find man pages installed by Nix.
2016-07-24Merge branch 'find-runtime-roots-c++'Shea Levy
2016-07-21resolve-system-dependencies.pl: Only install on darwinShea Levy