nix-shell: Don't leave a temporary directory in /tmp behind
Move manpages around
nix-instantiate: Add a flag --expr / -E to read expressions from the command line

This is basically a shortcut for ‘echo 'expr...' | nix-instantiate -’.
Also supported by nix-build and nix-shell.
nix-instantiate: Rename --eval-only to --eval, --parse-only to --parse
nix-instantiate: Allow --dry-run as a synonym for --readonly-mode

--dry-run is more consistent with nix-env and nix-store.
nix-shell: Add --packages flag

This allows you to easily set up a build environment containing the
specified packages from Nixpkgs.  For example:

  $ nix-shell -p sqlite xorg.libX11 hello

will start a shell in which the given packages are present.
Add use-ssh-substituter setting.

It defaults to false and can be overridden by RemoteStore.

Untested currently, just quickly put this together
Only start download-via-ssh if it's enabled
use USER environmental variable if getting user id by getpwuid is failed in perl scripts: download-from-binary-cache.pl and nix-channel
Fix broken patch
Simplify getting use-ssh-substituter from untrusted users
Document dynamic attributes

Signed-off-by: Shea Levy <shea@shealevy.com>
Warn about missing -I paths

Fixes #121.  Note that we don't warn about missing $NIX_PATH entries
because it's intended that some may be missing (cf. the default
$NIX_PATH on NixOS, which includes paths like /etc/nixos/nixpkgs for
backward compatibility).
Add ~/.nix-profile/sbin to $PATH

Fixes #112.
Respect $NIX_CONNECT_TIMEOUT properly

We were 1) using CURLOPT_TIMEOUT instead of CURLOPT_CONNECTTIMEOUT; 2)
not passing it to the curl child process.

Issue #93.
Also provide an option for setting the curl connection timeout
nix-store -r: Respect --add-root for non-derivations

Fixes #68.
Fixes #117.
Installer: Handle Darwin

"cp -r" doesn't copy symlinks properly on Darwin, but "cp -R" does.

Fixes #215.
Add a test for nix-store --dump-db / --load-db
Test nix-store --optimise