Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-03-24 | Merge pull request #2693 from thoughtpolice/scripts/multi-user-sandbox | Domen Kožar | 1 | -1/+0 | |
scripts: remove default 'sandbox = false' from multi-user installer | |||||
2019-02-23 | scripts: remove default 'sandbox = false' from multi-user installer | Austin Seipp | 1 | -1/+0 | |
Sandboxing is now enabled by default on Linux, but is still disabled on macOS. However, the installer always turned it off to ensure consistent behavior. Remove this default configuration, so we fall back to the default platform-specific value. Signed-off-by: Austin Seipp <aseipp@pobox.com> | |||||
2019-02-22 | remove noop uses of nix-store --init | zimbatm | 2 | -9/+0 | |
the nix-store --init command is a noop apparently | |||||
2019-02-14 | nix.sh: Be set -u compliant. | Shea Levy | 1 | -1/+1 | |
2018-11-15 | Merge pull request #2432 from luke-clifton/fixssl | Eelco Dolstra | 1 | -4/+7 | |
SSL certificate search failed to find user profile certificates. | |||||
2018-10-16 | install script: remove unportable command check, fixup errant escape | Graham Christensen (Target) | 1 | -2/+2 | |
`which` isn't necessarily portable, but `command -v` is an equivalent form. Additionally, the `\'` is not necessary, as it is already quoted by `"`. | |||||
2018-10-01 | nix-profile-daemon: remove cruft | Matthew Bauer | 1 | -1/+1 | |
This removes part of the PATH that were being added automatically in multi-user installs: - $HOME/.nix-profile/lib/kde4/libexec - shouldn't be needed anymore, we are now using kde5 - @localstatedir@/nix/profiles/default/lib/kde4/libexec - same as above - @localstatedir@/nix/profiles/default - shouldn't ever contain binaries | |||||
2018-09-20 | Search NIX_PROFILE for SSL CA | Luke Clifton | 1 | -4/+7 | |
2018-09-19 | Look inside the user profile | Luke Clifton | 1 | -2/+2 | |
2018-09-01 | Default to single-user install | Graham Christensen | 1 | -11/+14 | |
2018-05-30 | release.nix: Generate the installer script | Eelco Dolstra | 1 | -7/+7 | |
2018-05-30 | Move installer script from nixos-homepage | Eelco Dolstra | 1 | -0/+67 | |
2018-05-30 | install-multi-user: support 'set -u' runs, closes #2193 | Graham Christensen | 1 | -1/+1 | |
2018-05-30 | nix-daemon.sh profile script: operate under `set -u` | Graham Christensen | 1 | -2/+2 | |
If the profile is sourced inside a script with `set -u`, the check for __ETC_PROFILE_NIX_SOURCED and NIX_SSL_CERT_FILE would raise an error. A simple guard around this check allows the script to operate under standard environments (where it is fairly reasonable to assume USER and HOME are set.) | |||||
2018-05-25 | multi-user profile: borrow single user profiles' NIX_SSL_CERT_FILE finding logic | Graham Christensen | 1 | -1/+18 | |
2018-05-25 | install-multi-user: don't force NIX_SSL_CERT_FILE | Graham Christensen | 1 | -3/+9 | |
Following the lead of the single user installer, if NIX_SSL_CERT_FILE is explicitly set prior to running, accept the user-provided version. | |||||
2018-05-25 | Merge pull request #1664 from matthewbauer/patch-4 | Eelco Dolstra | 1 | -1/+1 | |
Setup NIX_PATH correctly in nix-profile-daemon | |||||
2018-04-19 | installer: default to the daemon installor for Linux with systemd | Graham Christensen | 1 | -1/+1 | |
Note: don't backport to 2.0-maintenance | |||||
2018-04-19 | installer: allow opting in / out to the daemon installer | Graham Christensen | 1 | -6/+31 | |
By passing --daemon or --no-daemon, the installer can be forced to select one or the other installation options, despite what the automatic detection can provide. This commit can be backported to 2.0-maintenance because it explicitly turns off the daemon installation for Linux under systemd. | |||||
2018-04-04 | Setup nix_path correctly in nix-profile-daemon | Matthew Justin Bauer | 1 | -1/+1 | |
We need nixpkgs to be set in NIX_PATH for Nix 1.12 to work correctly | |||||
2018-03-30 | macos: Handle when a build user doesn't have a user ID | Graham Christensen | 1 | -2/+2 | |
2018-03-30 | Use a looser comparison for the 'user note' check | Graham Christensen | 1 | -1/+5 | |
We use grep instead of an equality check because it is difficult to extract _just_ the user's note, instead it is prefixed with some plist junk. This was causing the user note to always be set, even if there was no reason for it. | |||||
2018-03-30 | Check for the existence of a profile target before seeing if it mentions Nix | Graham Christensen | 1 | -1/+1 | |
Grep would ignore files that didn't exist, but would complain about files in a directory if the directory didn't exist. Simply check for the directory first, prior to grepping it. | |||||
2018-03-29 | Expand the multi-user installer to support Linuxes with systemd | Graham Christensen | 4 | -755/+1034 | |
- darwin installer: delete hardware report, not necessary - moves os-specific code from the darwin installer to to `poly_*` functions - adds profile.d support to the profile targets, which automatically handles many distros which don't have a /etc/bashrc but do have an /etc/profile.d - /bin/bash -> /usr/bin/env bash - document why each excluded shellcheck check is excluded - rename the multi-user to Daemon-based | |||||
2018-02-13 | Merge pull request #1775 from LnL7/darwin-build-users | Eelco Dolstra | 1 | -1/+1 | |
installer: create 'enough' build users | |||||
2018-01-29 | solves #1582 | Giorgio Gallo | 1 | -1/+1 | |
2018-01-18 | Merge pull request #1793 from peterstuart/fix-extra-space | Eelco Dolstra | 1 | -1/+1 | |
Remove extra space in chat_about_sudo() | |||||
2018-01-15 | Fix manpath detection | Iavael | 1 | -1/+1 | |
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-12 | Remove extra space. | Peter Stuart | 1 | -1/+1 | |
2018-01-03 | installer: create 'enough' build users | Daiderd Jordan | 1 | -1/+1 | |
2018-01-03 | installer: don't touch /etc/profile | Daiderd Jordan | 1 | -1/+1 | |
The default profile already loads /etc/bashrc. | |||||
2017-12-29 | Do not export ASPELL_CONF | Frederik Rietdijk | 1 | -6/+0 | |
This does not belong in Nix. Setting this env var is already done by the aspell derivation found in Nixpkgs. | |||||
2017-12-20 | Fix escaping, fixes build | Frederik Rietdijk | 1 | -2/+2 | |
2017-12-08 | replace lolcat with nix-info | Graham Christensen | 1 | -1/+1 | |
2017-12-08 | darwin installer: fix on High Sierra | Graham Christensen | 1 | -6/+20 | |
2017-11-20 | install-darwin-multi-user.sh: Remove superfluous nix.conf settings | Eelco Dolstra | 1 | -8/+0 | |
2017-10-16 | Pull nix-profile-daemon from 1.11 | Shea Levy | 2 | -0/+55 | |
2017-10-12 | Merge pull request #1591 from shlevy/darwin-installer-no-sudo-i | Eelco Dolstra | 1 | -3/+3 | |
darwin installer: Fix on systems where sudo -i is disabled. | |||||
2017-10-05 | darwin installer: Fix on systems where sudo -i is disabled. | Shea Levy | 1 | -3/+3 | |
2017-10-02 | install-darwin-multi-user: relax assumption check | Anthony Cowley | 1 | -1/+1 | |
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-31 | Rename a few configuration options | Eelco Dolstra | 1 | -3/+3 | |
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-30 | Replace Unicode quotes in user-facing strings by ASCII | Jörg Thalheim | 1 | -2/+2 | |
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g" | |||||
2017-07-14 | Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION | Graham Christensen | 1 | -3/+3 | |
2017-07-14 | If there is no TTY, also skip verbose sudo messages | Graham Christensen | 1 | -3/+33 | |
2017-07-14 | Ensure PINCH_ME_IM_SILLY allows a /nix/store to stick around between builds | Graham Christensen | 1 | -5/+3 | |
Also output in the status report that the user is very silly | |||||
2017-07-14 | Assume yes if we have no TTY | Graham Christensen | 1 | -0/+11 | |
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case. | |||||
2017-07-14 | Address feedback around printf & exec | Graham Christensen | 2 | -2/+2 | |
2017-07-14 | Don't install a second nix after the initial installation, and the rsync ↵ | Graham Christensen | 1 | -4/+1 | |
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-14 | Clean up issues around uninstall directions, and only show | Graham Christensen | 1 | -29/+77 | |
relevant directions | |||||
2017-07-14 | Prompt for sudo before validating assumptions, and check ourselves for ↵ | Graham Christensen | 1 | -25/+13 | |
root-owned files instead of making a scary warning. |