lix/src
Eelco Dolstra 5e51ffb1c2 Support sandbox builds by non-root users
This allows an unprivileged user to perform builds on a diverted store
(i.e. where the physical store location differs from the logical
location).

Example:

  $ NIX_LOG_DIR=/tmp/log NIX_REMOTE="local?real=/tmp/store&state=/tmp/var" nix-build -E \
    'with import <nixpkgs> {}; runCommand "foo" { buildInputs = [procps nettools]; } "id; ps; ifconfig; echo $out > $out"'

will do a build in the Nix store physically in /tmp/store but
logically in /nix/store (and thus using substituters for the latter).
2016-06-03 15:59:28 +02:00
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
download-via-ssh More cleanup 2015-07-20 01:16:16 +02:00
libexpr Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
libmain Show the log tail when a build fails 2016-04-25 19:18:45 +02:00
libstore Support sandbox builds by non-root users 2016-06-03 15:59:28 +02:00
libutil createTempDir(): Don't do a chown on Linux 2016-06-02 18:17:30 +02:00
nix nix run: Set a reasonable uid/gid 2016-06-02 19:04:09 +02:00
nix-collect-garbage Eliminate reserveSpace flag 2016-02-24 17:44:55 +01:00
nix-daemon Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-env Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-store Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00