- Oct 16, 2018
-
-
Graham Christensen (Target) authored
`which` isn't necessarily portable, but `command -v` is an equivalent form. Additionally, the `\'` is not necessary, as it is already quoted by `"`.
-
- Oct 01, 2018
-
-
Matthew Bauer authored
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
-
- Sep 01, 2018
-
-
Graham Christensen authored
-
- May 30, 2018
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Graham Christensen authored
-
Graham Christensen authored
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.)
-
- May 25, 2018
-
-
Graham Christensen authored
-
Graham Christensen authored
Following the lead of the single user installer, if NIX_SSL_CERT_FILE is explicitly set prior to running, accept the user-provided version.
-
- Apr 19, 2018
-
-
Graham Christensen authored
Note: don't backport to 2.0-maintenance
-
Graham Christensen authored
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.
-
- Apr 04, 2018
-
-
Matthew Justin Bauer authored
We need nixpkgs to be set in NIX_PATH for Nix 1.12 to work correctly
-
- Mar 30, 2018
-
-
Graham Christensen authored
-
Graham Christensen authored
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.
-
Graham Christensen authored
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.
-
- Mar 29, 2018
-
-
Graham Christensen authored
- 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
-
- Jan 29, 2018
-
-
Giorgio Gallo authored
-
- Jan 14, 2018
-
-
Iavael authored
Checking for MANPATH without quotes always returns true, so that it breaks bash-completion for man pages on modern systems without MANPATH environment variable.
-
- Jan 12, 2018
-
-
Peter Stuart authored
-
- Jan 03, 2018
-
-
Daiderd Jordan authored
-
Daiderd Jordan authored
The default profile already loads /etc/bashrc.
-
- Dec 29, 2017
-
-
Frederik Rietdijk authored
This does not belong in Nix. Setting this env var is already done by the aspell derivation found in Nixpkgs.
-
- Dec 20, 2017
-
-
Frederik Rietdijk authored
-
- Dec 08, 2017
-
-
Graham Christensen authored
-
Graham Christensen authored
-
- Nov 20, 2017
-
-
Eelco Dolstra authored
-
- Oct 16, 2017
-
-
Shea Levy authored
-
- Oct 05, 2017
-
-
Shea Levy authored
-
- Oct 03, 2017
-
-
Anthony Cowley authored
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 `#`.
-
- Aug 31, 2017
-
-
Eelco Dolstra authored
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
-
- Jul 30, 2017
-
-
Jörg Thalheim authored
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
-
- Jul 14, 2017
-
-
Graham Christensen authored
-
Graham Christensen authored
-
Graham Christensen authored
Also output in the status report that the user is very silly
-
Graham Christensen authored
Starve the TTY of input to ensure this works, but provide yes to the current installer to handle the current broken case.
-
Graham Christensen authored
-
Graham Christensen authored
Don't install a second nix after the initial installation, and the rsync 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.
-
Graham Christensen authored
relevant directions
-
Graham Christensen authored
Prompt for sudo before validating assumptions, and check ourselves for root-owned files instead of making a scary warning.
-
Graham Christensen authored
-